DataOutput.write

DataOutput.write

Interface Overview | Interface Members | This Package | All Packages

Syntax 1
public abstract void write( int b ) throws IOException
Parameters
b
the byte to be written.
Description
Writes the specified byte to this data output stream.

Exceptions
IOException if an I/O error occurs.



Syntax 2
public abstract void write( byte b[] ) throws IOException
Parameters
b
the data.
Description
Writes b.length bytes from the specified byte array to this output stream.

Exceptions
IOException if an I/O error occurs.



Syntax 3
public abstract void write( byte b[], int off, int len ) throws IOException
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 output stream.

Exceptions
IOException if an I/O error occurs.