|
CRC32_RK
|
Class to calculate CRC32 (32-bit Cyclic Redundancy Check) More...
#include <CRC32_RK.h>
Data Structures | |
| class | State |
| Class to allow calculation across multiple buffers. More... | |
Static Public Member Functions | |
| static uint32_t | calculate (const unsigned char *buf, size_t len) |
| Calculate the CRC32 for a single buffer of data. | |
Class to calculate CRC32 (32-bit Cyclic Redundancy Check)
It uses the polynomial and other parameters as in gzip. If you need a node.js version, see the crc package in NPM.
|
static |
Calculate the CRC32 for a single buffer of data.
| buf | Pointer to a buffer to calculate the CRC for. Cannot be null. |
| len | The length of the buffer in bytes |