()
| 31 | } |
| 32 | |
| 33 | public int read() throws IOException { |
| 34 | if (position >= limit) { |
| 35 | fill(); |
| 36 | if (limit == -1) { |
| 37 | return -1; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | return buffer[position++] & 0xFF; |
| 42 | } |
| 43 | |
| 44 | public int read(byte[] b, int offset, int length) throws IOException { |
| 45 | int count = 0; |