pub fn calc_fletcher32(data: &[u16]) -> u32 {
    let mut checksum = Fletcher32::new();
    checksum.update(data);
    checksum.value()
}
/// Get the 32-bit checksum in one shot
Get the 32-bit checksum in one shot
Get the 32 - bit checksum in one shot
pub fn calc_fletcher32(data: &[u16]) -> u32 {
    let mut checksum = Fletcher32::new();
    checksum.update(data);
    checksum.value()
}
pub fn calc_fletcher32 ( data : & [ u16 ] ) -> u32 { let mut checksum = Fletcher32 :: new ( ) ; checksum . update ( data ) ; checksum . value ( ) }
Get the 32-bit checksum in one shot
Get the 32 - bit checksum in one shot
data
&[u16]
data
&[u16]