Package org.lwjgl.util.zstd
@NullMarked
package org.lwjgl.util.zstd
Contains bindings to Zstandard (zstd), a fast lossless compression algorithm, targeting real-time
compression scenarios at zlib-level and better compression ratios.
Zstandard is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-off, while being backed by a very fast decoder. It also offers a special mode for small data, called dictionary compression, and can create dictionaries from any sample set.
Resources
-
ClassDescription
struct ZDICT_cover_params_t { unsigned k; unsigned d; unsigned steps; unsigned nbThreads; double splitPoint;ZDICT_params_tzParams; }An array ofZDICTCoverParamsstructs.struct ZDICT_fastCover_params_t { unsigned k; unsigned d; unsigned f; unsigned steps; unsigned nbThreads; double splitPoint; unsigned accel;ZDICT_params_tzParams; }An array ofZDICTFastCoverParamsstructs.struct ZDICT_params_t { int compressionLevel; unsigned notificationLevel; unsigned dictID; }An array ofZDICTParamsstructs.Callback function:ZSTD_allocFunctionCallback function:ZSTD_allocFunctionstruct ZSTD_bounds { size_t error; int lowerBound; int upperBound; }An array ofZSTDBoundsstructs.struct ZSTD_compressionParameters { unsigned int windowLog; unsigned int chainLog; unsigned int hashLog; unsigned int searchLog; unsigned int minMatch; unsigned int targetLength; ZSTD_strategy strategy; }An array ofZSTDCompressionParametersstructs.struct ZSTD_customMem {ZSTD_allocFunctioncustomAlloc;ZSTD_freeFunctioncustomFree; void * opaque; }An array ofZSTDCustomMemstructs.struct ZSTD_FrameHeader { unsigned long long frameContentSize; unsigned long long windowSize; unsigned int blockSizeMax; ZSTD_FrameType_e frameType; unsigned int headerSize; unsigned int dictID; unsigned int checksumFlag; unsigned _reserved1; unsigned _reserved2; }An array ofZSTDFrameHeaderstructs.struct ZSTD_frameParameters { int contentSizeFlag; int checksumFlag; int noDictIDFlag; }An array ofZSTDFrameParametersstructs.struct ZSTD_frameProgression { unsigned long long ingested; unsigned long long consumed; unsigned long long produced; unsigned long long flushed; unsigned int currentJobID; unsigned int nbActiveWorkers; }An array ofZSTDFrameProgressionstructs.Callback function:ZSTD_freeFunctionCallback function:ZSTD_freeFunctionstruct ZSTD_inBuffer { void const * src; size_t size; size_t pos; }An array ofZSTDInBufferstructs.struct ZSTD_outBuffer { void * dst; size_t size; size_t pos; }An array ofZSTDOutBufferstructs.struct ZSTD_parameters {ZSTD_compressionParameterscParams;ZSTD_frameParametersfParams; }An array ofZSTDParametersstructs.struct ZSTD_Sequence { unsigned int offset; unsigned int litLength; unsigned int matchLength; unsigned int rep; }An array ofZSTDSequencestructs.Callback function:ZSTD_sequenceProducer_FCallback function:ZSTD_sequenceProducer_F