LZ4_resetStreamHC

[LZ4_resetStreamHC()](API\Runtime\Core\Compression\LZ4_resetStreamHC) is now replaced by [LZ4_initStreamHC()](API\Runtime\Core\Compression\LZ4_initStreamHC).

Choose your operating system:

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

LZ4void LZ4_resetStreamHC
(
    LZ4_streamHC_t * streamHCPtr,
    int compressionLevel
)

Remarks

LZ4_resetStreamHC() is now replaced by LZ4_initStreamHC(). The intention is to emphasize the difference with LZ4_resetStreamHC_fast(), which is now the recommended function to start a new stream of blocks, but cannot be used to initialize a memory segment containing arbitrary garbage data.

It is recommended to switch to LZ4_initStreamHC(). LZ4_resetStreamHC() will generate deprecation warnings in a future version.