ByteArrayOutputStream
A ByteArrayOutputStream is a OutputStream that writes to a ByteArray
Since
0.1.0
Constructors
Link copied to clipboard
constructor()
Creates a ByteArrayOutputStream
Functions
Link copied to clipboard
Flushes this output stream and forces any buffered output bytes to be written out. The general contract of flush
is that calling it is an indication that, if any bytes previously written have been buffered by the implementation of the output stream, such bytes should immediately be written to their intended destination.
Link copied to clipboard
Resets the ByteArrayOutputStream
Link copied to clipboard
Returns the size of the ByteArrayOutputStream
Link copied to clipboard
Returns the content of the ByteArrayOutputStream as a ByteArray