Data data = new Data(buffer, 3, 7, false);
assertEquals(10, data.written());
assertEquals(10, data.readable());
assertEquals(2, data.debug_GetBuffer().length);
assertEquals(Integer.valueOf("01010000", 2).byteValue(), data.debug_GetBuffer()[0]);
assertEquals(Integer.valueOf("00000010", 2).byteValue(), data.debug_GetBuffer()[1]);
assertEquals(0, data.debug_GetRead());
assertEquals(10, data.debug_GetWrite());
assertEquals(RT.EOF, data.debug_GetMark());