ObjectOutput.write

ObjectOutput.write

Interface Overview | Interface Members | This Package | All Packages

Syntax 1
public abstract void write( int b ) throws IOException
Parameters
b
the byte
Description
Writes a byte. This method will block until the byte is actually written.

Exceptions
IOException If an I/O error has occurred.



Syntax 2
public abstract void write( byte b[] ) throws IOException
Parameters
b
the data to be written
Description
Writes an array of bytes. This method will block until the bytes are actually written.

Exceptions
IOException If an I/O error has occurred.



Syntax 3
public abstract void write( byte b[], int off, int len ) throws IOException
Parameters
b
the data to be written
off
the start offset in the data
len
the number of bytes that are written
Description
Writes a sub array of bytes.

Exceptions
IOException If an I/O error has occurred.