@Override
    public void readFully(final byte[] b) throws IOException {
        if (read(b) == -1) {
            throw new EOFException("End of stream reached");
        }
    }
@Test
    public void testReadFullyB() throws Exception {
        byte[] readFull = new byte[INIT_DATA.length];
        in.readFully(readFull);
        assertArrayEquals(readFull, in.data);
    }