Expand description
CRC32 checksum utilities for data integrity verification.
Functionsยง
- append_
checksum - Appends a CRC32 checksum to the encoded packet data. Returns a new vector with the checksum appended.
- append_
checksum_ in_ place - Appends a CRC32 checksum to the provided buffer in-place.
- validate_
and_ strip_ checksum - Validates and strips the CRC32 checksum from packet data. Returns the data without checksum if valid, or an error if checksum fails.