Expand description
Attempt to encode a frame into buf, assuming a starting offset of 0.
The caller is responsible for extending the buffer if a RedisProtocolErrorKind::BufferTooSmall is returned.
Attempt to encode a frame into buf, assuming a starting offset of 0.
The caller is responsible for extending the buffer if a RedisProtocolErrorKind::BufferTooSmall is returned.