Skip to main content

parse_resp

Function parse_resp 

Source
pub fn parse_resp<R: BufRead>(reader: &mut R) -> Result<RespValue, String>
Expand description

Parse a single RESP value from a buffered reader.

Returns Err on I/O errors, malformed input, or EOF.