@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_null() {
        in.init(null, 0);
        assertNull(in.data);
        assertEquals(0, in.size);
        assertEquals(0, in.pos);
    }