Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Compression/lz4.h |
Include |
#include "Compression/lz4.h" |
Source |
/Engine/Source/Runtime/Core/Private/Compression/lz4.cpp |
LZ4int LZ4_sizeofState()
LZ4_compress_fast_extState() : Same as LZ4_compress_fast(), using an externally allocated memory space for its state. Use LZ4_sizeofState() to know how much memory must be allocated, and allocate it on 8-bytes boundaries (using malloc()_ typically). Then, provide this buffer as
void* state_ to compression function.