Navigation
API > API/Runtime > API/Runtime/Core
Description
LZ4compress_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.
| Name | LZ4_sizeofState |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Compression/lz4.h |
| Include Path | #include "Compression/lz4.h" |
| Source | /Engine/Source/Runtime/Core/Private/Compression/lz4.cpp |
LZ4int LZ4_sizeofState()