ByteArrayOutputStream out = new ByteArrayOutputStream();
Packer packer = msgpack.createPacker(out);
packer.writeLong(v);
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
Unpacker unpacker = msgpack.createUnpacker(in);
long ret = unpacker.readLong();
assertEquals(v, ret);
}
@Override
public void testFloat(float v) throws Exception {