bm.reset();
assertTrue(bm.readBoolean());
assertTrue(!bm.readBoolean());
assertEquals((byte)2, bm.readByte());
byte[] bytes = new byte[4];
bm.readBytes(bytes);
assertEquals('g', bm.readChar());
assertEquals((short) 29, bm.readShort());
assertEquals(101, bm.readInt());
assertEquals(50003222L, bm.readLong());
assertEquals("Foobar", bm.readString());