Function miniz_oxide_c_api::mz_crc32 [−][src]
#[no_mangle]
pub unsafe extern "C" fn mz_crc32(
crc: c_ulong,
ptr: *const u8,
buf_len: size_t
) -> c_ulong
Expand description
Calculate crc-32 of the provided buffer with the initial CRC32 checksum of crc
.
If c_ulong is wider than 32 bits, only the lower 32 bits will be used.
Returns MZ_CRC32_INIT if ptr is ptr::null
.