}
Input read = new UnsafeMemoryInput(write.toBytes());
for (int i = 0; i < 100; i++) {
assertEquals(true, read.readBoolean());
assertEquals(false, read.readBoolean());
}
}
public void testChars () throws IOException {
runCharTest(new UnsafeMemoryOutput(4096));