Expand description
Decoding functions for BytesMut and slices. Functions for decoding the RESP2 protocol into frames.
Functionsยง
- decode
- Attempt to parse the contents of
buf
, returning the first valid frame and the number of bytes consumed. - isize_
to_ usize