Navigation
API > API/Runtime > API/Runtime/Core
Description
LZ4compress_HC_destSize() : v1.9.0+ Will compress as much data as possible from src_ to fit into targetDstSize budget. Result is provided in 2 parts :
| Name | LZ4_compress_HC_destSize |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Compression/lz4hc.h |
| Include Path | #include "Compression/lz4hc.h" |
| Source | /Engine/Source/Runtime/Core/Private/Compression/lz4hc.cpp |
LZ4int LZ4_compress_HC_destSize
(
void * stateHC,
const char * src,
char * dst,
int * srcSizePtr,
int targetDstSize,
int compressionLevel
)
: the number of bytes written into 'dst' (necessarily <= targetDstSize) or 0 if compression fails. srcSizePtr_ : on success, *srcSizePtr is updated to indicate how much bytes were read from src_