@Override
    public int read() throws EOFException {
        return (pos < size) ? (data[pos++] & 0xff) : -1;
    }
@Test
    public void testReadForBOffLen_pos_gt_size() throws Exception {
        in.pos = 100;
        int read = in.read(INIT_DATA, 0, 1);
        assertEquals(-1, read);
    }