org.mapdb / Serializer / deserialize

deserialize

abstract fun deserialize(input: DataInput2, available: Int): A

Deserializes and returns the content of the given DataInput2.

Parameters

input - DataInput2 to de-serialize data from

available - how many bytes that are available in the DataInput2 for reading, may be -1 (in streams) or 0 (null).

Exceptions

IOException - in case of an I/O error

Return
the de-serialized content of the given DataInput2