Function crc32c_hw::compute
[−]
[src]
pub fn compute<T>(buf: T) -> u32 where
T: AsRef<[u8]>,
Computes the CRC32C for the data.
Example
extern crate crc32c_hw; assert_eq!(crc32c_hw::compute(b"123456789"), 0xe3069283);