()
| 80 | private byte[] byte1 = new byte[1]; |
| 81 | |
| 82 | public int read() throws IOException { |
| 83 | if (closed) { throw new IOException("Stream closed"); } |
| 84 | return read(byte1, 0, 1) == -1 ? -1 : byte1[0] & 0xff; |
| 85 | } |
| 86 | |
| 87 | public int read(byte[] b, int off, int len) throws IOException { |
| 88 | if (closed) { throw new IOException("Stream closed"); } |