LZ4 API Guide
1.00.01.00
|
The xxHash API set includes a single function for computing the xxHash of a data block. This function is provided to allow comparability with the official LZ4 framing structure however is not very efficient to run on microcontrollers. If a checksum is necessary the application can use an available CRC module and the LZ4 block API's to create a custom framing scheme. See [LZ4_ex2_custom_frame]() for an example of how to create this. More...
Functions | |
uint32_t | LZ4_xxHashCompute (const void *src, uint32_t length, uint32_t seed) |
Compute xxhash checksum for a block of data. More... | |
The xxHash API set includes a single function for computing the xxHash of a data block. This function is provided to allow comparability with the official LZ4 framing structure however is not very efficient to run on microcontrollers. If a checksum is necessary the application can use an available CRC module and the LZ4 block API's to create a custom framing scheme. See [LZ4_ex2_custom_frame]() for an example of how to create this.
uint32_t LZ4_xxHashCompute | ( | const void * | src, |
uint32_t | length, | ||
uint32_t | seed | ||
) |
Compute xxhash checksum for a block of data.
Used to compute and verify checksums for the LZ4 frame and block format.
src | Pointer to the data block. |
length | Length of data block. |
seed | Initialization value. |