Reads a sequence of bytes from this channel into the given buffer. Bytes are read starting at this channel's current file position, and then the file position is updated with the number of bytes actually read. @return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-
(ByteBuffer dst)
| 85 | * @return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream |
| 86 | */ |
| 87 | @Override |
| 88 | public int read(ByteBuffer dst) throws IOException { |
| 89 | return read(dst, mPos); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Reads a sequence of bytes from this channel into the given buffer, starting at the given file |