Function allsorts::checksum::table_checksum
source · [−]pub fn table_checksum(data: &[u8]) -> Result<Wrapping<u32>, ParseError>
Expand description
Calculate a checksum of data
according to the OpenType table checksum algorithm
https://docs.microsoft.com/en-us/typography/opentype/spec/otff#calculating-checksums