micro_ihex 0.1.0

A no std Intel Hex parser and serializer library
Documentation
1
2
3
pub(crate) fn checksum(bytes: &[u8]) -> u8 {
    0u8.wrapping_sub(bytes.iter().fold(0, |acc, &byte| acc.wrapping_add(byte)))
}