31 #define LZ4_COMPRESS_MAX_SIZE(n) ((size_t)((float)n * 1.01) + 27) Incorrect block checksum.
Definition: lz4.h:48
bool verifyContentChecksum
Definition: lz4.h:128
const void * src
Pointer to the source data buffer to compress.
Definition: lz4.h:60
const void * src
Pointer to the source data buffer to decompress.
Definition: lz4.h:138
bool verifyBlockChecksum
Definition: lz4.h:124
void * dst
Pointer to the destination data buffer to store compressed data.
Definition: lz4.h:62
uint32_t LZ4_decompressBlock(const LZ4_decompressBlockParams *params, LZ4_status *status)
Decompress a single LZ4 block without framing to a block of data.
Definition: lz4.c:361
const void * src
Pointer to the source data buffer to compress.
Definition: lz4.h:93
struct LZ4_decompressBlockParams LZ4_decompressBlockParams
Decompression parameters for a single LZ4 block.
Decompression parameters for a LZ4 frame.
Definition: lz4.h:114
Incorrect content checksum.
Definition: lz4.h:50
Data was partially decompressed due to insufficient space.
Definition: lz4.h:42
uint32_t dstLength
Length of the destination data buffer.
Definition: lz4.h:120
Compression parameters for a LZ4 frame.
Definition: lz4.h:58
uint16_t hashLog2Size
Power of two used to determine the hash table size.
Definition: lz4.h:68
const void * src
Pointer to the source data buffer to decompress.
Definition: lz4.h:116
void * dst
Pointer to the destination data buffer to store compressed data.
Definition: lz4.h:140
uint32_t LZ4_compress(const LZ4_compressParams *params, LZ4_status *status)
Compress a block of data to a LZ4 frame.
Definition: lz4.c:10
void * dst
Pointer to the destination data buffer to store compressed data.
Definition: lz4.h:118
uint32_t length
Length of source data buffer.
Definition: lz4.h:97
LZ4_status
LZ4 status return types.
Definition: lz4.h:38
struct LZ4_compressParams LZ4_compressParams
Compression parameters for a LZ4 frame.
Error in frame header.
Definition: lz4.h:46
Successful operation.
Definition: lz4.h:40
Decompression parameters for a single LZ4 block.
Definition: lz4.h:136
uint32_t LZ4_getContentSize(const uint8_t *src, LZ4_status *status)
Get the content size of a compressed LZ4 frame.
Definition: lz4.c:478
uint32_t LZ4_compressBlock(const LZ4_compressBlockParams *params, LZ4_status *status)
Compress a block of data to a single LZ4 block without framing.
Definition: lz4.c:99
struct LZ4_decompressParams LZ4_decompressParams
Decompression parameters for a LZ4 frame.
bool addContentChecksum
Definition: lz4.h:78
bool verifyBlockChecksum
Definition: lz4.h:146
void * hashTable
Pointer to memory block with pow2(hashLog2Size) bytes allocated.
Definition: lz4.h:99
bool addBlockChecksum
Definition: lz4.h:106
void * hashTable
Pointer to memory block with pow2(hashLog2Size) bytes allocated.
Definition: lz4.h:66
Compression parameters for a single LZ4 block.
Definition: lz4.h:91
Content size is not present in LZ4 frame header.
Definition: lz4.h:44
bool addBlockChecksum
Definition: lz4.h:73
struct LZ4_compressBlockParams LZ4_compressBlockParams
Compression parameters for a single LZ4 block.
bool addContentSize
Definition: lz4.h:83
uint16_t hashLog2Size
Power of two used to determine the hash table size.
Definition: lz4.h:101
void * dst
Pointer to the destination data buffer to store compressed data.
Definition: lz4.h:95
uint32_t dstLength
Length of the destination data buffer.
Definition: lz4.h:142
uint32_t length
Length of source data buffer.
Definition: lz4.h:64
uint32_t LZ4_decompress(const LZ4_decompressParams *params, LZ4_status *status)
Decompress a LZ4 frame to a block of data.
Definition: lz4.c:262