deserialize

@ApiStatus.Internal
abstract fun deserialize(buffer: ByteArrayDataInput): T

Deserialize an object of type T from a byte stream using the provided ByteArrayDataInput. This method reconstructs the object from its serialized form.

Return

The deserialized object of type T.

Parameters

buffer

The ByteArrayDataInput containing the serialized data.

Throws

If an I/O error occurs during deserialization.