Open mrx23dot opened 10 hours ago
So we could get an up-to-date list of what's included in the library, and we could iterate over all if we are searching for the checksum for given data e.g.
crccheck.functions = [ # class, length (Checksum8, 8), (Checksum16, 16), (Crc12Gsm, 12), ]
class._names already contains name, so that's not needed,
although not every class e.g. ChecksumXor16
found ALLCRCCLASSES for crcs.
But items in ALLCHECKSUMCLASSES don't have i._names set.
So we could get an up-to-date list of what's included in the library, and we could iterate over all if we are searching for the checksum for given data e.g.
class._names already contains name, so that's not needed,
although not every class e.g. ChecksumXor16