| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | Returns: the total number of bytes read into the buffer, or-1 if there is no more data because the end of
the stream has been reached.the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Reads up to |
| public int | |
| public void |
| length | back to summary |
|---|---|
| public int length() Return length data stored in the buffer
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Reads up to If
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Reads one byte from this buffer. If the buffer is empty this method can
throw a runtime exception. The exact type of runtime exception thrown
by this method depends on implementation. This method returns
| |
| reset | back to summary |
|---|---|
| public void reset() Resets the buffer by clearing its state and stored content. | |