| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of bytesReturns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream. |
| public int | Returns: the next byte, or -1 if the end of stream has been reachedReads the next byte of data from the input stream. |
| public int | Returns: the number of bytes read (possibly zero), or -1 if the end of stream has been reachedthe destination array b)Read some bytes from the input stream into the given array. |
| public int | Returns: the number of bytes read (possibly zero), or -1 if the end of stream has been reachedthe destination array b, int the offset into the array into which data should be read off, int the number of bytes to attempt to fill in the destination array len)Read some bytes from the input stream into the given array. |
| public long | Returns: the number of bytes skippedthe number of bytes to attempt to skip n)Skips over and discards up to |
| available | back to summary |
|---|---|
| public int available() throws IOException Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Reads the next byte of data from the input stream. If no byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.
| |
| read | back to summary |
|---|---|
| public int read(byte[] b) throws IOException Read some bytes from the input stream into the given array. Returns the number of bytes actually read (possibly zero), or -1 if the end of stream has been reached.
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Read some bytes from the input stream into the given array. Returns the number of bytes actually read (possibly zero), or -1 if the end of stream has been reached.
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Skips over and discards up to
| |