|
libxr
1.0
Want to be the best embedded framework
|
64 位循环冗余校验(CRC-64)计算类 / CRC-64 checksum computation class More...
#include <crc.hpp>
Static Public Member Functions | |
| static void | GenerateTable () |
| 生成 CRC64 查找表 / Generates the CRC64 lookup table | |
| static uint64_t | Calculate (const void *raw, size_t len) |
| 计算数据的 CRC64 校验码 / Computes the CRC64 checksum for the given data | |
Static Public Attributes | |
| static uint64_t | tab_ [256] |
| CRC64 查找表 / CRC64 lookup table. | |
| static bool | inited_ |
| 查找表是否已初始化 / Whether the lookup table is initialized | |
Static Private Attributes | |
| static const uint64_t | INIT = 0xFFFFFFFFFFFFFFFFULL |
| CRC64 初始值 / CRC64 initial value. | |
64 位循环冗余校验(CRC-64)计算类 / CRC-64 checksum computation class
该类实现了 CRC-64 校验算法,支持计算数据的 64 位校验值。 This class implements the CRC-64 checksum algorithm and supports computing 64-bit checksums for input data.
|
inlinestatic |
计算数据的 CRC64 校验码 / Computes the CRC64 checksum for the given data
| raw | 输入数据指针 / Pointer to input data |
| len | 数据长度 / Length of the data |
Definition at line 344 of file crc.hpp.
|
inlinestatic |
生成 CRC64 查找表 / Generates the CRC64 lookup table
Definition at line 316 of file crc.hpp.
|
staticprivate |
|
inlinestatic |
|
inlinestatic |