class

Redis::RespSerializer

Inherits Reference < Object

Constants

CRLF = "\r\n".bytes
FALSE_BOOLEAN = "#f\r\n".to_slice
NAN_VALUE = ",nan\r\n".to_slice
NEGATIVE_INF = ",-inf\r\n".to_slice
NULL_BULK_STRING = "$-1\r\n".to_slice

Pre-allocated static Bytes constants to avoid repeated allocations

POSITIVE_INF = ",inf\r\n".to_slice
TRUE_BOOLEAN = "#t\r\n".to_slice

Class methods

serialize(value : RespValue) : Bytes
Source