![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cCRC.h>
Public Member Functions | |
| cCRC64Table () | |
| ~cCRC64Table () | |
| void | BuildTable (CRC64_t nPoly=k_nPolynomial) |
| CRC64_t | CalculateBufferCRC (const void *pInput, size_t nInputSize, CRC64_t nCrc=k_nStart) const |
Public Attributes | |
| cArrayVal< CRC64_t > | m_CRCTable |
| working CRC lookup table. [ 256 ] More... | |
Static Public Attributes | |
| static const CRC64_t | k_nStart = 0xFFFFFFFFFFFFFFFFULL |
| starting value for CRC More... | |
| static const CRC64_t | k_nPolynomial = 0x95AC9329AC4BC9B5ULL |
| default polynomial used More... | |
Singleton to create 64 bit CRC's
| GrayLib::cCRC64Table::cCRC64Table | ( | ) |
| GrayLib::cCRC64Table::~cCRC64Table | ( | ) |
| void GrayLib::cCRC64Table::BuildTable | ( | CRC64_t | nPoly = k_nPolynomial | ) |
| CRC64_t GrayLib::cCRC64Table::CalculateBufferCRC | ( | const void * | pInput, |
| size_t | nInputSize, | ||
| CRC64_t | nCrc = k_nStart |
||
| ) | const |
calculates the CRC for a block of data using the table lookup method.
|
static |
default polynomial used
|
static |
starting value for CRC