Skip to main content

validate_checksum_u8

Function validate_checksum_u8 

Source
pub fn validate_checksum_u8(bytes: &[u8]) -> bool
Expand description

Returns true if the XOR checksum of the slice (including the checksum byte) is zero.