scredis.serialization
Deserializes an array of bytes to the expected type.
the array of bytes
the deserialized type
if an error occurs
Internal read method to be implemented.