The read method of the OffsetInputStreamFilter Class contains the following signatures:
read()
read(byte b[], int off, int len)
Reads a single byte from the input stream.
public synchronized int read() throws IOException;
Returns the byte that was read from the input stream.
IOException if an error occurs while attempting to read.
Reads a sequence of bytes from the input stream into the buffer.
public synchronized int read(byte b[], int off, int len) throws IOException;
Returns the number of bytes read.
b | The buffer to store the bytes in. |
off | The offset in the buffer where the first byte read is stored. |
len | The number of bytes to read. |
IOException if an error occurs while attempting to read.