[−][src]Function libdeflater::crc32
pub fn crc32(data: &[u8]) -> u32
Returns the CRC32 checksum of the bytes in data
.
Note: this is a one-shot method that requires all data
up-front. Developers wanting to compute a rolling crc32 from
(e.g.) a stream should use Crc