CRC parameters.
More...
#include <CRC.h>
template<typename CRCType, crcpp_uint16 CRCWidth>
struct CRC::Parameters< CRCType, CRCWidth >
CRC parameters.
template<typename CRCType , crcpp_uint16 CRCWidth>
Returns a CRC lookup table construct using these CRC parameters.
- Note
- This function primarily exists to allow use of the auto keyword instead of instantiating a table directly, since template parameters are not inferred in constructors.
- Template Parameters
-
| CRCType | Integer type for storing the CRC result |
| CRCWidth | Number of bits in the CRC |
- Returns
- CRC lookup table
template<typename CRCType, crcpp_uint16 CRCWidth>
Value to XOR with the final CRC.
template<typename CRCType, crcpp_uint16 CRCWidth>
template<typename CRCType, crcpp_uint16 CRCWidth>
template<typename CRCType, crcpp_uint16 CRCWidth>
true to reflect all input bytes
template<typename CRCType, crcpp_uint16 CRCWidth>
true to reflect the output CRC (reflection occurs before the final XOR)
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/CRCpp-release-1.2.0.0/inc/CRC.h