CRC++ 1.0.1.0
Easy to use and fast C++ CRC library.
|
CRC lookup table. After construction, the CRC parameters are fixed. More...
#include <CRC.h>
Public Member Functions | |
Table (const Parameters< CRCType, CRCWidth > ¶meters) | |
Constructs a CRC table from a set of CRC parameters. | |
Table (Parameters< CRCType, CRCWidth > &¶meters) | |
Constructs a CRC table from a set of CRC parameters. | |
const Parameters< CRCType, CRCWidth > & | GetParameters () const |
Gets the CRC parameters used to construct the CRC table. | |
const CRCType * | GetTable () const |
Gets the CRC table. | |
CRCType | operator[] (unsigned char index) const |
Gets an entry in the CRC table. | |
Private Member Functions | |
void | InitTable () |
Initializes a CRC table. | |
Private Attributes | |
Parameters< CRCType, CRCWidth > | parameters |
CRC parameters used to construct the table. | |
CRCType | table [1<< CHAR_BIT] |
CRC lookup table. | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
private |
CRC parameters used to construct the table.