CRC16
object CRC16
CRC-16 class is a helper that calculates different types of CRC. Catalogue of CRC-16 algorithms: http://reveng.sourceforge.net/crc-catalogue/16.htm
Testing is based on 'check' from the link above and https://www.lammertbies.nl/comm/info/crc-calculation.html.
Functions
Link copied to clipboard
Calculates CRC CCITT-FALSE over given range of bytes from the block of data. It is using the 0x1021 polynomial and 0xFFFF initial value.
Link copied to clipboard
Calculates CRC CCITT (Kermit) over given range of bytes from the block of data. It is using the 0x1021 polynomial and 0x0000 initial value.
Link copied to clipboard