Class ByteBufferOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    @Deprecated(since="2021-05-27")
    public class ByteBufferOutputStream
    extends OutputStream
    Deprecated.
    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.