crc32_update
XuAPI
pub fn crc32_update(crc u32, data *raw u8, len usize) u32Purpose
Crc32 update.
Parameters
crcu32- crc (u32)
data*raw u8- data (*raw u8)
lenusize- len (usize)
Returns
u32 — a value of this type
#core/crcStandard library package `#core/crc`.
crc32_updatepub fn crc32_update(crc u32, data *raw u8, len usize) u32Crc32 update.
crc u32data *raw u8len usizeu32 — a value of this type
crc32pub fn crc32(data *raw u8, len usize) u32Execute crc32.
data *raw u8len usizeu32 — a value of this type
crc32c_updatepub fn crc32c_update(crc u32, data *raw u8, len usize) u32Crc32c update.
crc u32data *raw u8len usizeu32 — a value of this type
crc32cpub fn crc32c(data *raw u8, len usize) u32Execute crc32c.
data *raw u8len usizeu32 — a value of this type
inet_checksumpub fn inet_checksum(data *raw u8, len usize) u16Inet checksum.
data *raw u8len usizeu16 — a value of this type