pub fn decode(input: &[u8]) -> Result<Option<(Value, usize)>>
Decode one value from the front of input.
input
Returns the value and how many bytes it consumed, or Ok(None) when the buffer does not yet hold a complete reply.
Ok(None)