static val LONG_PACKED: GroupSerializer<Long>
A predefined Serializer that handles non-null Long whereby Longs are serialized to a compressed byte format. The Serializer also stores the Longs's size, allowing it to be used as a GroupSerializer in BTreeMaps.
Smaller positive values occupy less than 8 bytes. Large and negative values could occupy 8 or 9 bytes.
This Serializer hashes Longs using the original Long#hashCode()
method.
If a null
value is passed to the Serializer, a NullPointerException will be thrown.