write
Writes the specified byte to this ByteArrayOutputStream.
Parameters
b
the byte to be written.
Writes len bytes from the specified byte array starting at offset off to this ByteArrayOutputStream.
Parameters
b
{@inheritDoc}
off
{@inheritDoc}
len
{@inheritDoc}
Throws
if b is null.
if off is negative, len is negative, or len is greater than b.length - off