Interface ReadBufferFactory.BufferingOutputStream

All Superinterfaces:
AutoCloseable, Closeable
Enclosing class:
ReadBufferFactory

public static interface ReadBufferFactory.BufferingOutputStream extends Closeable
Wrapper around a OutputStream that buffers into a ReadBuffer. Must be closed after use, even if finishBuffer() has not been called (e.g. on error), to avoid resource leaks.