- reset
Resets the count field of this byte array output stream to zero, so that all
currently accumulated o
- toByteArray
Creates a newly allocated byte array. Its size is the current size of this
output stream and the val
- <init>
Creates a new byte array output stream, with a buffer capacity of the specified
size, in bytes.
- ensureCapacity
- flush
- getBuffer
Gets internal buffers
- getCapacity
The current buffer capacity.
- setBuffer
Set stream buffer and set the counter.
- setSize
Set the buffer size.
- size
Returns the current size of the buffer.