Class ChunkedOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.io.output.ChunkedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

OutputStream which breaks larger output blocks into chunks. Native code may need to copy the input array; if the write buffer is very large this can cause OOME.

To build an instance, see ChunkedOutputStream.Builder

Since:
2.5
See Also: