![]() |
![]() |
Compression parameters for a LZ4 frame. More...
#include <lz4.h>
Data Fields | |
| const void * | src |
| Pointer to the source data buffer to compress. More... | |
| void * | dst |
| Pointer to the destination data buffer to store compressed data. More... | |
| uint32_t | length |
| Length of source data buffer. More... | |
| void * | hashTable |
| Pointer to memory block with pow2(hashLog2Size) bytes allocated. More... | |
| uint16_t | hashLog2Size |
| Power of two used to determine the hash table size. More... | |
| bool | addBlockChecksum |
| bool | addContentChecksum |
| bool | addContentSize |
Compression parameters for a LZ4 frame.
| const void* LZ4_compressParams::src |
Pointer to the source data buffer to compress.
Referenced by LZ4_compress().
| void* LZ4_compressParams::dst |
Pointer to the destination data buffer to store compressed data.
Referenced by LZ4_compress().
| uint32_t LZ4_compressParams::length |
Length of source data buffer.
| void* LZ4_compressParams::hashTable |
Pointer to memory block with pow2(hashLog2Size) bytes allocated.
| uint16_t LZ4_compressParams::hashLog2Size |
Power of two used to determine the hash table size.
| bool LZ4_compressParams::addBlockChecksum |
Add checksum to each compressed block. Decreases compression performance. Valid values are:
| bool LZ4_compressParams::addContentChecksum |
Add checksum of original source data buffer. Decreases compression performance. Valid values are:
| bool LZ4_compressParams::addContentSize |
Add total content size to LZ4 frame. Increases total frame size by 8 bytes. Valid values are: