bm.writeObject(new Float(1.7f));
bm.writeObject(new Double(8.7d));
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());