LZ4_compress_HC_continue_destSize

[LZ4_compress_HC_continue_destSize()](API\Runtime\Core\Compression\LZ4_compress_HC_continue_destSiz-) : v1.9.0+ Similar to [LZ4_compress_HC_continue()](API\Runtime\Core\Compression\LZ4_compress_HC_continue), but will read as much data as possible from `src_ to fit into `targetDstSize_ budget.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Compression/lz4hc.h

Include

#include "Compression/lz4hc.h"

Source

/Engine/Source/Runtime/Core/Private/Compression/lz4hc.cpp

Syntax

LZ4int LZ4_compress_HC_continue_destSize
(
    LZ4_streamHC_t * LZ4_streamHCPtr,
    const char * src,
    char * dst,
    int * srcSizePtr,
    int targetDstSize
)

Remarks

LZ4_compress_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 :

that this function may not consume the entire input.

Returns

: the number of bytes written into 'dst' (necessarily <= targetDstSize) or 0 if compression fails. srcSizePtr_ : on success, &#42;srcSizePtr will be updated to indicate how much bytes were read from src_.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss