scredis.serialization
Represents the base class of all readers. You can define new readers by extending this class and implementing the readImpl method.
readImpl
All reader exceptions will be wrapped into a scredis.exceptions.RedisReaderException.
Internal read method to be implemented.
the array of bytes
the deserialized type
Deserializes an array of bytes to the expected type.
[[scredis.exceptions.RedisReaderException]] if an error occurs
[[scredis.exceptions.RedisReaderException]]
Represents the base class of all readers. You can define new readers by extending this class and implementing the
readImpl
method.All reader exceptions will be wrapped into a scredis.exceptions.RedisReaderException.