ByteArrayOutputStream.write

ByteArrayOutputStream.write

Class Overview | Class Members | This Package | All Packages

Syntax 1
public synchronized void write( int b )
Parameters
b
the byte to be written.
Description
Writes the specified byte to this byte array output stream.

Overrides
write in class OutputStream



Syntax 2
public synchronized void write( byte b[], int off, int len )
Parameters
b
the data.
off
the start offset in the data.
len
the number of bytes to write.
Description
Writes len bytes from the specified byte array starting at offset off to this byte array output stream.

Overrides
write in class OutputStream