pub fn checksum(index: &[MetaDataIndexEntry]) -> u32 {
        let mut digest = crc32::Digest::new(crc32::IEEE);
        for entry in index {
            digest.write(&serialize(entry).unwrap());
        }
        digest.sum32()
    }
/// Calculate checksum of an index array
Calculate checksum of an index array
Calculate checksum of an index array
pub fn checksum(index: &[MetaDataIndexEntry]) -> u32 {
        let mut digest = crc32::Digest::new(crc32::IEEE);
        for entry in index {
            digest.write(&serialize(entry).unwrap());
        }
        digest.sum32()
    }
pub fn checksum ( index : & [ MetaDataIndexEntry ] ) -> u32 { let mut digest = crc32 :: Digest :: new ( crc32 :: IEEE ) ; for entry in index { digest . write ( & serialize ( entry ) . unwrap ( ) ) ; } digest . sum32 ( ) }
Calculate checksum of an index array
Calculate checksum of an index array
index
&[MetaDataIndexEntry]