Skip to main content

crc32c_update

Function crc32c_update 

Source
pub fn crc32c_update(crc: u32, data: &[u8]) -> u32
Expand description

Incremental CRC-32C update: continue a running CRC over data starting from crc (the previous state, NOT yet final-XOR’d). Returns the updated state (also NOT yet final-XOR’d). To get the final checksum, bitwise-NOT the result (or call crc32c for the one-shot form).