pub fn crc32_update(previous_value: u32, bytes: &[u8]) -> u32
Available on crate feature
crc32
only.Expand description
Compute a CRC32 hash from the given bytes
, returning the CRC32 hash.
When calling this function for the first time, previous_value
should be 0
.
Otherwise, it should be the previous return value of this function to provide a hash
of multiple sequential chunks of bytes
.