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.
clazz
- the class to instantiate.
context
- used to pass information about how the object should be deserialized.