Module postcard::de_flavors::crc
source · Available on crate feature
use-crc
only.Expand description
This Cyclic Redundancy Check flavor applies the CRC crate’s Algorithm
struct on
the serialized data. The flavor will check the CRC assuming that it has been appended to the bytes.
CRCs are used for error detection when reading data back.
The crc
feature requires enabling to use this module.
More on CRCs: https://en.wikipedia.org/wiki/Cyclic_redundancy_check.
Structs§
- Manages CRC modifications as a flavor.
Functions§
- 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. - 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. - 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. - 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. - 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. - Deserialize a message of type
T
from a byte slice with a Crc. The unused portion (if any) of the byte slice is returned for further usage - Deserialize a message of type
T
from a byte slice with a Crc. The unused portion (if any) of the byte slice is returned for further usage - Deserialize a message of type
T
from a byte slice with a Crc. The unused portion (if any) of the byte slice is returned for further usage - Deserialize a message of type
T
from a byte slice with a Crc. The unused portion (if any) of the byte slice is returned for further usage - Deserialize a message of type
T
from a byte slice with a Crc. The unused portion (if any) of the byte slice is returned for further usage