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.
[[scredis.exceptions.RedisWriterException]] if an error occurs
[[scredis.exceptions.RedisWriterException]]
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.