The buffer where data is stored.
The number of valid bytes in the buffer.
count field of this byte array output
stream to zero, so that all currently accumulated output in the
output stream is discarded.
Returns the number of byt with the list of byte arrays that have been written to this output stream.
Returns the current size of the buffer.
the value of the
count field, which is the number
of valid bytes in this output stream.
Creates a newly allocated byte array.
the current contents of this output stream, as a byte array.
Converts the buffer's contents into a string decoding bytes using the platform's default character set.
String decoded from the buffer's contents.
len bytes from the specified byte array
starting at offset
off to this byte array output stream.
the start offset in the data.
the number of bytes to write.