Overriding: java.io.OutputStream
Closing a ByteArrayOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException.
ByteArrayOutputStream
IOException
Exceptions:
Writes the specified byte to this byte array output stream.
Parameters:
b
Writes len bytes from the specified byte array starting at offset off to this byte array output stream.
len
off
Diagram: OutputStream