hio.redisd.codec

Members

Aliases

DecodeResult
alias DecodeResult = Tuple!(RedisdValue, "value", immutable(ubyte)[], "rest")
Undocumented in source.

Classes

BadDataFormat
class BadDataFormat
Decoder
class Decoder

decode redis values from stream of ubyte chunks

EncodeException
class EncodeException
WrongDataAccess
class WrongDataAccess
WrongOffset
class WrongOffset

Enums

ValueType
enum ValueType

Type of redis value

Functions

decode
DecodeResult decode(immutable(ubyte)[] data)

deserialize from byte array

encode
immutable(ubyte)[] encode(RedisdValue v)

serialize RedisdValue to byte array

redisdValue
RedisdValue redisdValue(T v)

Build redis value from string or integer

redisdValue
RedisdValue redisdValue(T v)

Build redis value from tuple

redisdValue
RedisdValue redisdValue(T v)

Build redis value from array

Structs

RedisdValue
struct RedisdValue
Undocumented in source.

Meta