()
| 363 | } |
| 364 | |
| 365 | public int read() throws IOException { |
| 366 | byte[] b = new byte[1]; |
| 367 | int c = read(b); |
| 368 | return (c == -1 ? -1 : b[0] & 0xFF); |
| 369 | } |
| 370 | |
| 371 | public int read(byte[] b, int offset, int length) throws IOException { |
| 372 | if (this.length == 0) return -1; |