LZ4_setStreamDecode

[LZ4_setStreamDecode()](API\Runtime\Core\Compression\LZ4_setStreamDecode) : An LZ4_streamDecode_t context can be allocated once and re-used multiple times.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Compression/lz4.h"

Syntax

LZ4int LZ4_setStreamDecode
(
    LZ4_streamDecode_t * LZ4_streamDecode,
    const char * dictionary,
    int dictSize
)

Remarks

LZ4_setStreamDecode() : An LZ4_streamDecode_t context can be allocated once and re-used multiple times. Use this function to start decompression of a new stream of blocks. A dictionary can optionally be set. Use NULL or size 0 for a reset order. Dictionary is presumed stable : it must remain accessible and unmodified during next decompression.

Returns

: 1 if OK, 0 if error

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