org.mapdb / Serializer / BYTE

BYTE

static val BYTE: GroupSerializer<Byte>

A predefined Serializer that handles non-null Byte whereby Bytes are serialized to a one byte format.

This Serializer hashes Bytes using the original Byte#hashCode() method.

If a null value is passed to the Serializer, a NullPointerException will be thrown.