Package org.lwjgl.util.lz4
@NullMarked
package org.lwjgl.util.lz4
Contains bindings to LZ4, a lossless compression algorithm, providing compression speed > 500 MB/s per core,
scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on
multi-core systems.
Resources
-
ClassDescriptionCallback function:
LZ4F_AllocFunction
Callback function:LZ4F_AllocFunction
Callback function:LZ4F_CallocFunction
Callback function:LZ4F_CallocFunction
struct LZ4F_compressOptions_t { unsigned stableSrc; unsigned reserved[3]; }
An array ofLZ4FCompressOptions
structs.struct LZ4F_CustomMem { {@link LZ4FAllocFunctionI LZ4F_AllocFunction} customAlloc; {@link LZ4FCallocFunctionI LZ4F_CallocFunction} customCalloc; {@link LZ4FFreeFunctionI LZ4F_FreeFunction} customFree; void * opaqueState; }
An array ofLZ4FCustomMem
structs.struct LZ4F_decompressOptions_t { unsigned stableDst; unsigned skipChecksums; unsigned reserved1; unsigned reserved0; }
An array ofLZ4FDecompressOptions
structs.struct LZ4F_frameInfo_t { LZ4F_blockSizeID_t blockSizeID; LZ4F_blockMode_t blockMode; LZ4F_contentChecksum_t contentChecksumFlag; LZ4F_frameType_t frameType; unsigned long long contentSize; unsigned dictID; LZ4F_blockChecksum_t blockChecksumFlag; }
An array ofLZ4FFrameInfo
structs.Callback function:LZ4F_FreeFunction
Callback function:LZ4F_FreeFunction
struct LZ4F_preferences_t { {@link LZ4FFrameInfo LZ4F_frameInfo_t} frameInfo; int compressionLevel; unsigned autoFlush; unsigned favorDecSpeed; unsigned reserved[3]; }
An array ofLZ4FPreferences
structs.struct LZ4HC_CCtx_internal { LZ4_u32 hashTable[LZ4HC_HASHTABLESIZE]; LZ4_u16 chainTable[LZ4HC_MAXD]; LZ4_byte const * end; LZ4_byte const * prefixStart; LZ4_byte const * dictStart; LZ4_u32 dictLimit; LZ4_u32 lowLimit; LZ4_u32 nextToUpdate; short compressionLevel; LZ4_i8 favorDecSpeed; LZ4_i8 dirty; {@link LZ4HCCCtxInternal LZ4HC_CCtx_internal} * const dictCtx; }
An array ofLZ4HCCCtxInternal
structs.union LZ4_stream_t { void * table[LZ4_STREAM_MINSIZE]; {@link LZ4StreamInternal struct LZ4_stream_t_internal} internal_donotuse; }
An array ofLZ4Stream
structs.union LZ4_streamDecode_t { char minStateSize[LZ4_STREAMDECODE_MINSIZE]; {@link LZ4StreamDecodeInternal LZ4_streamDecode_t_internal} internal_donotuse; }
An array ofLZ4StreamDecode
structs.struct LZ4_streamDecode_t_internal { LZ4_byte const * externalDict; LZ4_byte const * prefixEnd; size_t extDictSize; size_t prefixSize; }
An array ofLZ4StreamDecodeInternal
structs.union LZ4_streamHC_t { char minStateSize[LZ4_STREAMHC_MINSIZE]; {@link LZ4HCCCtxInternal struct LZ4HC_CCtx_internal} internal_donotuse; }
An array ofLZ4StreamHC
structs.struct LZ4_stream_t_internal { LZ4_u32 hashTable[LZ4_HASH_SIZE_U32]; LZ4_byte const * dictionary; {@link LZ4StreamInternal LZ4_stream_t_internal} * const dictCtx; LZ4_u32 currentOffset; LZ4_u32 tableType; LZ4_u32 dictSize; }
An array ofLZ4StreamInternal
structs.