InflaterInputStream.read
Class Overview | Class Members |
This Package |
All Packages
public int read() throws IOException
Returns
the byte read, or -1 if end of compressed input is reached
Description
Reads a byte of uncompressed data. This method will block until
enough input is available for decompression.
Exceptions
IOException
if an I/O error has occurred
Overrides
read in class FilterInputStream
public int read( byte b[],
int off,
int len ) throws IOException
Parameters
- b
- the buffer into which the data is read
- off
- the start offset of the data
- len
- the maximum number of bytes read
Returns
the actual number of bytes read, or -1 if the end of the
compressed input is reached or a preset dictionary is needed
Description
Reads uncompressed data into an array of bytes. This method will
block until some input can be decompressed.
Exceptions
ZipException
if a ZIP format error has occurred
Exceptions
IOException
if an I/O error has occurred
Overrides
read in class FilterInputStream