CRC++ 1.0.1.0
Easy to use and fast C++ CRC library.
|
#include <CRC.h>
Public Member Functions | |
Table< CRCType, CRCWidth > | MakeTable () const |
Returns a CRC lookup table construct using these CRC parameters. | |
Public Attributes | |
CRCType | polynomial |
CRC polynomial. | |
CRCType | initialValue |
Initial CRC value. | |
CRCType | finalXOR |
Value to XOR with the final CRC. | |
bool | reflectInput |
true to reflect all input bytes | |
bool | reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR) | |
CRC parameters.
|
inline |
Returns a CRC lookup table construct using these CRC parameters.
CRCType | Integer type for storing the CRC result |
CRCWidth | Number of bits in the CRC |
CRCType CRC::Parameters< CRCType, CRCWidth >::finalXOR |
Value to XOR with the final CRC.
CRCType CRC::Parameters< CRCType, CRCWidth >::initialValue |
Initial CRC value.
CRCType CRC::Parameters< CRCType, CRCWidth >::polynomial |
CRC polynomial.
bool CRC::Parameters< CRCType, CRCWidth >::reflectInput |
true to reflect all input bytes
bool CRC::Parameters< CRCType, CRCWidth >::reflectOutput |
true to reflect the output CRC (reflection occurs before the final XOR)