DataOutputStream.write

DataOutputStream.write

Class Overview | Class Members | This Package | All Packages

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

Exceptions
IOException if an I/O error occurs.
Overrides
write in class FilterOutputStream
See Also
out



Syntax 2
public synchronized 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 the underlying output stream.

Exceptions
IOException if an I/O error occurs.
Overrides
write in class FilterOutputStream
See Also
out