pub fn decode_value(buf: &[u8]) -> Option<(Value, usize)>
Decode a value, returns (value, bytes_consumed)