Module redis_protocol::resp2::decode
source · [−]Expand description
Decoding functions for BytesMut and slices. Functions for decoding the RESP2 protocol into frames.
Functions
Attempt to parse the contents of buf, returning the first valid frame and the number of bytes consumed.