Function verify_checksum

Source
fn verify_checksum(data: &[u8], wanted: Option<u32>) -> Result<()>