Data data = new Data(buffer, 0, 8, false);
assertEquals(8, data.written());
assertEquals(8, data.readable());
assertEquals(1, data.debug_GetBuffer().length);
assertEquals(Integer.valueOf("01010101", 2).byteValue(), data.debug_GetBuffer()[0]);
assertEquals(0, data.debug_GetRead());
assertEquals(8, data.debug_GetWrite());
} finally {
}