org.mapdb / Serializer / STRING_NOSIZE


static val STRING_NOSIZE: Serializer<String>

A predefined Serializer that handles non-null String whereby Strings are serialized to a UTF-8 encoded format. The Serializer does not store the String's size, thereby preventing it from being used as a GroupSerializer.

This Serializer hashes Strings using the original hash code method as opposed to the Serializer#STRING Serializer.

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

See Also