pub fn decode_from_slice<T: Decode>(bytes: &[u8]) -> Result<T, DecoderError>Expand description
Decodes one value from the start of bytes; octets after the value are ignored.
pub fn decode_from_slice<T: Decode>(bytes: &[u8]) -> Result<T, DecoderError>Decodes one value from the start of bytes; octets after the value are ignored.