@Override
 public UUID deserialize(byte[] stream, int startPosition) {
   Long mostSignificantBits = OLongSerializer.INSTANCE.deserialize(stream, startPosition);
   Long leastSignificantBits =
       OLongSerializer.INSTANCE.deserialize(stream, startPosition + OLongSerializer.LONG_SIZE);
   return new UUID(mostSignificantBits, leastSignificantBits);
 }
示例#2
0
 public Double deserialize(byte[] stream, int startPosition) {
   return Double.longBitsToDouble(OLongSerializer.INSTANCE.deserialize(stream, startPosition));
 }