RedisSerde

cc.otavia.redis.serde.RedisSerde
See theRedisSerde companion object
trait RedisSerde[T <: Command[_] | CommandResponse] extends Serde[T]

Attributes

Companion
object
Graph
Supertypes
trait Serde[T]
class Object
trait Matchable
class Any
Known subtypes
object AuthSerde
object InfoSerde
object SelectSerde
object OKSerde
object SuccessSerde
Show all

Members list

Value members

Inherited methods

def checkDeserializable(in: Buffer): Boolean

Check that there is enough data in the buffer to deserialize.

Check that there is enough data in the buffer to deserialize.

Value parameters

in

The input Buffer.

Attributes

Returns

true if has enough data, or else false.

Inherited from:
Serde
final def deserializeToAny(in: Buffer): Any

Deserialize the bytes data in Buffer to instance of type A, but return erased instance of type Any.

Deserialize the bytes data in Buffer to instance of type A, but return erased instance of type Any.

Value parameters

in

The input Buffer.

Attributes

Returns

Instance of type Any.

Inherited from:
Serde
final def serializeAny(value: Any, out: Buffer): Unit

Serialize instance of type A which is erased type to Any into Buffer.

Serialize instance of type A which is erased type to Any into Buffer.

Value parameters

out

Output Buffer.

value

Instance of type A which is erased type to Any.

Attributes

Inherited from:
Serde

Inherited and Abstract methods

def deserialize(in: Buffer): T

Deserialize the bytes data in Buffer to instance of type A

Deserialize the bytes data in Buffer to instance of type A

Value parameters

in

The input Buffer.

Attributes

Returns

Instance of type A.

Inherited from:
Serde
def serialize(value: T, out: Buffer): Unit

Serialize instance of type A into Buffer.

Serialize instance of type A into Buffer.

Value parameters

out

Output Buffer.

value

Instance of type A.

Attributes

Inherited from:
Serde