Expand description
Zero-copy RESP3 parser.
Operates on buffered byte slices. The caller is responsible for reading data from the network into a buffer — this parser is purely synchronous.
The parser uses a Cursor<&[u8]> to track its position through the
input buffer without consuming it, allowing the caller to retry once
more data arrives.
Functions§
- parse_
frame - Checks whether
bufcontains a complete RESP3 frame and parses it.