Available on crate feature
resp3
only.Expand description
Decoding functions for complete RESP3 frames.
Functionsยง
- decode
- Attempt to decode the contents of
buf
, returning the first valid frame and the number of bytes consumed. - decode_
bytes bytes
- Attempt to decode the provided buffer without moving or copying the inner buffer contents.
- decode_
bytes_ mut bytes
- Attempt to decode and split the provided buffer without moving or copying the inner buffer contents.
- decode_
range - Attempt to the decode the contents of
buf
, returning frames that reference ranges into the provided buffer.