DeflaterOutputStream.write

DeflaterOutputStream.write

Class Overview | Class Members | This Package | All Packages

Syntax 1
public void write( int b ) throws IOException
Parameters
b
the byte to be written
Description
Writes a byte to the compressed output stream. This method will block until the byte can be written.

Exceptions
IOException if an I/O error has occurred
Overrides
write in class FilterOutputStream



Syntax 2
public void write( byte b[], int off, int len ) throws IOException
Parameters
buf
the data to be written
off
the start offset of the data
len
the length of the data
Description
Writes an array of bytes to the compressed output stream. This method will block until all the bytes are written.

Exceptions
IOException if an I/O error has occurred
Overrides
write in class FilterOutputStream