@Override
    public final byte readByte() throws EOFException {
        final int ch = read();
        if (ch < 0) {
            throw new EOFException();
        }
        return (byte) (ch);
    }
@Test
    public void testReadByte() throws Exception {
        int read = in.readByte();
        assertEquals(0, read);
    }