CRC hash generation for different types of input data 更多...
#include <Crc.h>
静态 Public 成员函数 | |
| static void | Init () |
| initializes the CRC lookup table. 更多... | |
| static uint32 | MemCrc32 (const void *Data, int32 Length, uint32 CRC=0) |
| generates CRC hash of the memory area | |
| static uint32 | MemCrc_DEPRECATED (const void *Data, int32 Length, uint32 CRC=0) |
| generates CRC hash of the memory area | |
| template<typename CharType > | |
| static TEnableIf< sizeof(CharType)!=1, uint32 >::Type | StrCrc32 (const CharType *Data, uint32 CRC=0) |
| String CRC. | |
| template<typename CharType > | |
| static uint32 | StrCrc_DEPRECATED (const CharType *Data) |
| String CRC. | |
| template<typename CharType > | |
| static uint32 | StrCrc_DEPRECATED (const int32 DataLen, const CharType *Data) |
| String CRC. | |
| template<typename CharType > | |
| static uint32 | Strihash_DEPRECATED (const CharType *Data) |
| Case insensitive string hash function. | |
| template<typename T > | |
| static uint32 | TypeCrc32 (const T &Data, uint32 CRC=0) |
| generates CRC hash of the element | |
静态 Public 属性 | |
| static uint32 | CRCTable_DEPRECATED [256] |
| DEPRECATED These tables and functions are deprecated because they're using tables and implementations which give values different from what a user of a typical CRC32 algorithm might expect. 更多... | |
| static uint32 | CRCTablesSB8 [8][256] |
| lookup table with precalculated CRC values - slicing by 8 implementation | |
| static uint32 | CRCTablesSB8_DEPRECATED [8][256] |
| lookup table with precalculated CRC values - slicing by 8 implementation | |
CRC hash generation for different types of input data
|
static |
initializes the CRC lookup table.
Must be called before any of the CRC functions are used.
|
static |
DEPRECATED These tables and functions are deprecated because they're using tables and implementations which give values different from what a user of a typical CRC32 algorithm might expect.
lookup table with precalculated CRC values