assertEquals(-1,msg.readBytes(data2));
for(int k=0;k<data2.length;k++)
data2[k] = (byte)k;
}
assertEquals(true,msg.readBoolean());
assertEquals((byte)12,msg.readByte());
assertEquals('a',msg.readChar());
assertEquals(1.23456789,msg.readDouble(),0.0000001);
assertEquals(4.5678f,msg.readFloat(),0.000001);
assertEquals(1234,msg.readInt());