@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); }
public Double deserialize(byte[] stream, int startPosition) { return Double.longBitsToDouble(OLongSerializer.INSTANCE.deserialize(stream, startPosition)); }