Class ByteBufferOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class ByteBufferOutputStream
    extends OutputStream
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Simple wrapper of a ByteBuffer as an OutputStream. The buffer does not grow and this class will throw an BufferOverflowException if the buffer capacity is exceeded.