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