deserialize

abstract fun <T : Any> deserialize(bytes: ByteSequence, clazz: Class<T>, context: SerializationSchemeContext): T

This method must deserialize the data stored bytes into an instance of T.

Parameters

bytes

the serialized data.

clazz

the class to instantiate.

context

used to pass information about how the object should be deserialized.