[][src]Function git_features::hash::crc32_update

pub fn crc32_update(previous_value: u32, bytes: &[u8]) -> u32

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.