scredis.serialization
Represents the base class of all writers. You can define new writers by extending this class and implementing the writeImpl method.
writeImpl
All reader exceptions will be wrapped into a scredis.exceptions.RedisWriterException.
Internal write method to be implemented.
the object to be serialized
byte array of the serialized object
Serializes an object into a byte array.
if an error occurs
Represents the base class of all writers. You can define new writers by extending this class and implementing the
writeImpl
method.All reader exceptions will be wrapped into a scredis.exceptions.RedisWriterException.