private
Reserves space for data - useful for optimization.
Resets the stream to its initial state containing no data.
An array with all data written to the stream so far.
Writes an array of bytes to the stream.
Flushes the stream and makes sure that all data is being written to the output device.
Flushes and finalizes the stream.
Pipes an InputStream directly into this OutputStream.
OutputStream that collects the written data in memory and allows to query it as a byte array.