static val INTEGER_PACKED: GroupSerializer<Int>
A predefined Serializer that handles non-null Integer whereby Integers 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 4 bytes. Large and negative values could occupy 4 or 5 bytes.
This Serializer hashes Integers using the original Integer#hashCode()
method.
If a null
value is passed to the Serializer, a NullPointerException will be thrown.