scredis.serialization
Serializes an object into a byte array.
the object to be serialized
byte array of the serialized object
[[scredis.exceptions.RedisWriterException]] if an error occurs
[[scredis.exceptions.RedisWriterException]]
Internal write method to be implemented.