Navigation
API > API/Runtime > API/Runtime/Core
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCompressedBuffer | A compressed buffer stores compressed data in a self-contained format. | ||
| FCompressedBufferReader | A type that stores the state needed to decompress a compressed buffer. | ||
| FCompressedBufferReaderSourceScope | A type that sets the source of a reader upon construction and resets it upon destruction. | ||
| FDecoderContext | A reusable context for the compressed buffer decoder. | ||
| LZ4_streamHC_u | |||
| LZ4HC_CCtx_internal |
Typedefs
| Name | Description |
|---|---|
| ECompressedBufferCompressionLevel | |
| ECompressedBufferCompressor | |
| LZ4_byte | |
| LZ4_i8 | |
| LZ4_streamHC_t | |
| LZ4_u16 | |
| LZ4_u32 | |
| LZ4HC_CCtx_internal | Never ever use these definitions directly ! Declare or allocate an LZ4_streamHC_t instead. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECompressedBufferDecompressFlags | |||
| FOodleDataCompression::ECompressionCommonUsage | OodleDataCompression : Unreal API for direct access to Oodle Data lossless data compression for manual encoding (not in Pak/iostore) NOTE : for any data that will be stored to disk, you should not be compressing it yourself! allow the pak/iostore system to choose the compressor! | ||
| FOodleDataCompression::ECompressionLevel | ECompressionLevel : Choose the Oodle Compression Level this mostly trades encode speed vs compression ratio decode speed is determined by choice of compressor (ECompressor) | ||
| FOodleDataCompression::ECompressor | ECompressor : Choose the Oodle Compressor this mostly trades decompression speed vs compression ratio encode speed is determined by ECompressionLevel , not the compressor choice. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | FOodleCompressedArray::CompressTArray
(
TArray< uint8 >& OutCompressed, |
Compress an arbitrary data pointer, replacing existing data. | |
| bool | FOodleCompressedArray::CompressTArray64
(
TArray64< uint8 >& OutCompressed, |
||
| bool | FOodleCompressedArray::DecompressToTArray
(
TArray< T >& OutDecompressed, |
Decompress to a TArray. This should be paired with CompressTArray. | |
| bool | FOodleCompressedArray::DecompressToTArray64
(
TArray64< T >& OutDecompressed, |
||
| int32 | FOodleCompressedArray::PeekSizes
(
TArray< uint8 > const& InCompressed, |
Provides access to the compressed and decompressed sizes. | |
| int32 | FOodleCompressedArray::PeekSizes64
(
TArray64< uint8 > const& InCompressed, |
||
| bool | FOodleDataCompression::ECompressorFromString
(
const FString& InName, |
||
| LZ4int | LZ4_compress_default
(
const char* src, |
LZ4_compress_default() : Compresses 'srcSize' bytes from buffer 'src' into already allocated 'dst' buffer of size 'dstCapacity'. | |
| LZ4int | LZ4_compress_destSize
(
const char* src, |
LZ4_compress_destSize() : Reverse the logic : compresses as much data as possible from 'src' buffer into already allocated buffer 'dst', of size >= 'targetDestSize'. | |
| LZ4int | LZ4_compress_fast
(
const char* src, |
LZ4_compress_fast() : Same as LZ4_compress_default(), but allows selection of "acceleration" factor. | |
| LZ4int | LZ4_compress_fast_continue
(
LZ4_stream_t* streamPtr, |
LZ4_compress_fast_continue() : Compress 'src' content using data from previously compressed blocks, for better compression ratio. | |
| LZ4int | LZ4_compress_fast_extState
(
void* state, |
||
| LZ4int | LZ4_compress_HC
(
const char* src, |
[LZ4compress_HC()](API\Runtime\Core\Compression\LZ4_compress_HC) : Compress data from src_ into dst, using the powerful but slower "HC" algorithm. |
|
| LZ4int | LZ4_compress_HC_continue
(
LZ4_streamHC_t* streamHCPtr, |
||
| LZ4int | LZ4_compress_HC_continue_destSize
(
LZ4_streamHC_t* LZ4_streamHCPtr, |
[LZ4compress_HC_continue_destSize()](API\Runtime\Core\Compression\LZ4_compress_HC_continue_destSiz-) : v1.9.0+ Similar to LZ4_compress_HC_continue(), but will read as much data as possible from src_ to fit into targetDstSize budget. |
|
| LZ4int | LZ4_compress_HC_destSize
(
void* stateHC, |
[LZ4compress_HC_destSize()](API\Runtime\Core\Compression\LZ4_compress_HC_destSize) : v1.9.0+ Will compress as much data as possible from src_ to fit into targetDstSize budget. |
|
| LZ4int | LZ4_compress_HC_extStateHC
(
void* stateHC, |
||
| LZ4int | LZ4_compressBound
(
int inputSize |
LZ4_compressBound() : Provides the maximum size that LZ4 compression may output in a "worst case" scenario (input data not compressible) This function is primarily useful for memory allocation purposes (destination buffer size). | |
| LZ4LZ4_stream_t * | Note about RC_INVOKED | ||
| LZ4LZ4_streamDecode_t * | LZ4_createStreamDecode() and LZ4_freeStreamDecode() : creation / destruction of streaming decompression tracking context. | ||
| LZ4LZ4_streamHC_t * | LZ4_createStreamHC() and LZ4_freeStreamHC() : These functions create and release memory for LZ4 HC streaming state. | ||
| LZ4int | LZ4_decoderRingBufferSize
(
int maxBlockSize |
LZ4_decoderRingBufferSize() : v1.8.2+ Note : in a ring buffer scenario (optional), blocks are presumed decompressed next to each other up to the moment there is not enough remaining space for next block (remainingSize < maxBlockSize), at which stage it resumes from beginning of ring buffer. | |
| LZ4int | LZ4_decompress_safe
(
const char* src, |
LZ4_decompress_safe() : compressedSize : is the exact complete size of the compressed block. | |
| LZ4int | LZ4_decompress_safe_continue
(
LZ4_streamDecode_t* LZ4_streamDecode, |
LZ4decompress*_continue() : These decoding functions allow decompression of consecutive blocks in "streaming" mode. | |
| LZ4int | LZ4_decompress_safe_partial
(
const char* src, |
LZ4_decompress_safe_partial() : Decompress an LZ4 compressed block, of size 'srcSize' at position 'src', into destination buffer 'dst' of size 'dstCapacity'. | |
| LZ4int | LZ4_decompress_safe_partial_usingDict
(
const char* src, |
||
| LZ4int | LZ4_decompress_safe_usingDict
(
const char* src, |
LZ4decompress*usingDict() : These decoding functions work the same as a combination of LZ4_setStreamDecode() followed by LZ4_decompress*_continue() They are stand-alone, and don't need an LZ4_streamDecode_t structure. | |
| LZ4int | LZ4_freeStream
(
LZ4_stream_t* streamPtr |
||
| LZ4int | LZ4_freeStreamDecode
(
LZ4_streamDecode_t* LZ4_stream |
||
| LZ4int | LZ4_freeStreamHC
(
LZ4_streamHC_t* streamHCPtr |
||
| LZ4LZ4_stream_t * | LZ4_initStream
(
void* buffer, |
LZ4_initStream() : v1.9.0+ An LZ4_stream_t structure must be initialized at least once. | |
| LZ4LZ4_streamHC_t * | LZ4_initStreamHC
(
void* buffer, |
LZ4_streamHC_t : This structure allows static allocation of LZ4 HC streaming state. | |
| LZ4int | LZ4_loadDict
(
LZ4_stream_t* streamPtr, |
LZ4_loadDict() : Use this function to reference a static dictionary into LZ4_stream_t. | |
| LZ4int | LZ4_loadDictHC
(
LZ4_streamHC_t* streamHCPtr, |
||
| LZ4void | LZ4_resetStream
(
LZ4_stream_t* streamPtr |
LZ4_resetStream() : An LZ4_stream_t structure must be initialized at least once. | |
| LZ4void | LZ4_resetStream_fast
(
LZ4_stream_t* streamPtr |
LZ4_resetStream_fast() : v1.9.0+ Use this to prepare an LZ4_stream_t for a new chain of dependent blocks (e.g., LZ4_compress_fast_continue()). | |
| LZ4void | LZ4_resetStreamHC
(
LZ4_streamHC_t* streamHCPtr, |
LZ4_resetStreamHC() is now replaced by LZ4_initStreamHC(). | |
| LZ4void | LZ4_resetStreamHC_fast
(
LZ4_streamHC_t* streamHCPtr, |
These functions compress data in successive blocks of any size, using previous blocks as dictionary, to improve compression ratio. | |
| LZ4int | LZ4_saveDict
(
LZ4_stream_t* streamPtr, |
LZ4_saveDict() : If last 64KB data cannot be guaranteed to remain available at its current memory location, save it into a safer place (char* safeBuffer). | |
| LZ4int | LZ4_saveDictHC
(
LZ4_streamHC_t* streamHCPtr, |
||
| LZ4int | LZ4_setStreamDecode
(
LZ4_streamDecode_t* LZ4_streamDecode, |
LZ4_setStreamDecode() : An LZ4_streamDecode_t context can be allocated once and re-used multiple times. | |
| LZ4int | LZ4_compress_fast_extState() : Same as LZ4_compress_fast(), using an externally allocated memory space for its state. | ||
| LZ4int | Note : Decompression functions are provided within "lz4.h" (BSD license) | ||
| LZ4int | Library version number; useful to check dll version; requires v1.3.0+ | ||
| LZ4const char * | Library version string; useful to check dll version; requires v1.7.5+ | ||
| bool | |||
| ECompressedBufferDecompressFlags | |||
| ECompressedBufferDecompressFlags & | |||
| ECompressedBufferDecompressFlags | |||
| ECompressedBufferDecompressFlags & | |||
| ECompressedBufferDecompressFlags | |||
| ECompressedBufferDecompressFlags & | |||
| ECompressedBufferDecompressFlags |