OKSerde

cc.otavia.redis.serde.impl.OKSerde
object OKSerde extends AbstractResponseSerde[OK]

Attributes

Graph
Supertypes
trait RedisSerde[OK]
trait Serde[OK]
class Object
trait Matchable
class Any
Show all
Self type
OKSerde.type

Members list

Value members

Concrete methods

override 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.

Definition Classes
final override def deserialize(in: Buffer): OK

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.

Definition Classes
final override def serialize(value: OK, 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

Definition Classes

Inherited methods

final protected def deserializeSimpleError(in: Buffer): String

Attributes

Inherited from:
AbstractResponseSerde
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
final protected def serializeSimpleError(error: String, out: Buffer): AbstractResponseSerde.this.type

Attributes

Inherited from:
AbstractResponseSerde