pub fn decode_value<T: BufferValue>(data: &[u8]) -> Result<T, BufferDecodeError>Expand description
Decode one BufferValue from an encoded buffer, requiring the buffer to
be fully consumed.
ยงErrors
Returns an error when the buffer is malformed for T or holds trailing
bytes.