This crate calculate the 8-bit checksum of a data structure, or of an array of bytes.
In other words, it adds up all the bytes, modulo 256.
This code is actually used in many places in OS development (such as ACPI, SMBIOS, EDID).
This code is licensed with the Unlicense, i.e. it is in the public domain.
See LICENSE.md
for more information.