pub fn decode_value(input: &[u8]) -> Result<(Value, usize), DecodeError>Expand description
Decodes one complete value and returns the value plus bytes consumed.
ยงErrors
Returns DecodeError when input is truncated, has an unknown tag, contains
malformed escape sequences, or carries invalid UTF-8 for strings.