pub fn from_bytes<'de, T: Deserialize<'de>>(
    bytes: &'de [u8]
) -> Result<T, Error>
Expand description

Deserializes a value from a slice of bytes in the binary representation.