Function postcard::from_bytes_crc32
source · pub fn from_bytes_crc32<'a, T>(
s: &'a [u8],
digest: Digest<'a, u32>
) -> Result<T>where
T: Deserialize<'a>,
Expand description
Conveniently deserialize a message of type T
from a byte slice with a Crc. The unused portion (if any)
of the byte slice is not returned.
See the de_flavors::crc
module for the complete set of functions.