Navigation
API > API/Runtime > API/Runtime/Core
Description
LZ4compress_HC_continue_destSize() : v1.9.0+ Similar to LZ4_compress_HC_continue(), but will read as much data as possible from src_ to fit into targetDstSize budget. Result is provided into 2 parts :
| Name | LZ4_compress_HC_continue_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_continue_destSize
(
LZ4_streamHC_t * LZ4_streamHCPtr,
const char * src,
char * dst,
int * srcSizePtr,
int targetDstSize
)
: the number of bytes written into 'dst' (necessarily <= targetDstSize) or 0 if compression fails. srcSizePtr_ : on success, *srcSizePtr will be updated to indicate how much bytes were read from src_. Note that this function may not consume the entire input.