abstract fun deserialize(input: DataInput2, available: Int): A
Deserializes and returns the content of the given DataInput2.
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). IOException
- in case of an I/O errorReturn
the de-serialized content of the given DataInput2