Class ByteBufferOutputStream

java.lang.Object
java.io.OutputStream
org.jgrapes.io.util.ByteBufferOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

An OutputStream that is backed by ByteBuffers obtained from a queue.

When a byte buffer is full, a Output event (default) is generated and a new buffer is fetched from the queue.