xz_embedded_sys::xz_crc32 [] [src]

pub unsafe extern fn xz_crc32(buf: *const u8, size: size_t, crc: u32) -> u32

Update CRC32 value using the polynomial from IEEE-802.3.

To start a new calculation, the third argument must be zero. To continue the calculation, the previously returned value is passed as the third argument.