Module ihex::checksum [] [src]

Functions

checksum

The Intel HEX checksum is computed by summing all relevant bytes in a record and taking the two's complement of the least significant byte of the sum. @param data Data to checksum. @result The correct checksum byte for the record.