Skip to main content

compute_checksum

Function compute_checksum 

Source
pub fn compute_checksum(data: &[u8]) -> u8
Expand description

Computes the 8-bit checksum of a byte slice.