Function parse_server

Source
pub fn parse_server(bytes: &[u8]) -> Result<ServerResponse<'_>, Error>
Expand description

Parses data in the format that redis expects

Redis expects an array of blobs. Although the protocol is much wider at the top level, redis expects an array of blobs.

The first value is returned along side with the unconsumed stream of bytes.