메소드 | 설명 | |
---|---|---|
CRCTool ( ) : System | ||
CalcCRCITT ( byte p ) : ushort |
CalcCRCITT is an algorithm found on the web for calculating the CRCITT checksum It is included to demonstrate that although it looks different it is the same routine as the crcbitbybit* functions. But it is optimized and preconfigured for CRCITT.
|
|
Init ( CRCCode CodingType ) : void | ||
crcbitbybit ( byte p ) : ulong | ||
crcbitbybitfast ( byte p ) : ulong | ||
crctable ( byte p ) : ulong | ||
crctablefast ( byte p ) : ulong |
4 ways to calculate the crc checksum. If you have to do a lot of encoding you should use the table functions. Since they use precalculated values, which saves some calculating.
|
메소드 | 설명 | |
---|---|---|
generate_crc_table ( ) : void | ||
reflect ( ulong crc, int bitnum ) : ulong |