@Override
    public void init(byte[] data, int offset) {
        this.data = data;
        this.size = data != null ? data.length : 0;
        this.pos = offset;
    }
@Test
    public void testInit() {
        in.init(INIT_DATA, 2);
        assertArrayEquals(INIT_DATA, in.data);
        assertEquals(INIT_DATA.length, in.size);
        assertEquals(2, in.pos);
    }