data.fill(1, 6);
assertEquals(16, data.written());
assertEquals(16, data.readable());
assertEquals(512, data.debug_GetBuffer().length);
assertEquals(0, data.debug_GetRead());
assertEquals(16, data.debug_GetWrite());
assertEquals(RT.EOF, data.debug_GetMark());
assertEquals(Integer.valueOf("11100001", 2).byteValue(), data.debug_GetBuffer()[0]);