LZ4_sizeofStateHC

[LZ4_compress_HC_extStateHC()](API\Runtime\Core\Compression\LZ4_compress_HC_extStateHC) : Same as [LZ4_compress_HC()](API\Runtime\Core\Compression\LZ4_compress_HC), but using an externally allocated memory segment for `state_.

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

LZ4int LZ4_sizeofStateHC()

Remarks

LZ4_compress_HC_extStateHC() : Same as LZ4_compress_HC(), but using an externally allocated memory segment for state_. state_ size is provided by LZ4_sizeofStateHC(). Memory segment must be aligned on 8-bytes boundaries (which a normal malloc() should do properly).