Class Zstd

java.lang.Object
org.lwjgl.util.zstd.Zstd

public class Zstd extends Object
  • Field Details

  • Method Details

    • ZSTD_versionNumber

      public static int ZSTD_versionNumber()
      unsigned ZSTD_versionNumber(void)
    • nZSTD_versionString

      public static long nZSTD_versionString()
      char const * ZSTD_versionString(void)
    • ZSTD_versionString

      public static String ZSTD_versionString()
      char const * ZSTD_versionString(void)
    • nZSTD_compress

      public static long nZSTD_compress(long dst, long dstCapacity, long src, long srcSize, int compressionLevel)
      size_t ZSTD_compress(void * dst, size_t dstCapacity, void const * src, size_t srcSize, int compressionLevel)
    • ZSTD_compress

      public static long ZSTD_compress(ByteBuffer dst, ByteBuffer src, int compressionLevel)
      size_t ZSTD_compress(void * dst, size_t dstCapacity, void const * src, size_t srcSize, int compressionLevel)
    • nZSTD_decompress

      public static long nZSTD_decompress(long dst, long dstCapacity, long src, long compressedSize)
      size_t ZSTD_decompress(void * dst, size_t dstCapacity, void const * src, size_t compressedSize)
    • ZSTD_decompress

      public static long ZSTD_decompress(ByteBuffer dst, ByteBuffer src)
      size_t ZSTD_decompress(void * dst, size_t dstCapacity, void const * src, size_t compressedSize)
    • nZSTD_getFrameContentSize

      public static long nZSTD_getFrameContentSize(long src, long srcSize)
      unsigned long long ZSTD_getFrameContentSize(void const * src, size_t srcSize)
    • ZSTD_getFrameContentSize

      public static long ZSTD_getFrameContentSize(ByteBuffer src)
      unsigned long long ZSTD_getFrameContentSize(void const * src, size_t srcSize)
    • nZSTD_findFrameCompressedSize

      public static long nZSTD_findFrameCompressedSize(long src, long srcSize)
      size_t ZSTD_findFrameCompressedSize(void const * src, size_t srcSize)
    • ZSTD_findFrameCompressedSize

      public static long ZSTD_findFrameCompressedSize(ByteBuffer src)
      size_t ZSTD_findFrameCompressedSize(void const * src, size_t srcSize)
    • ZSTD_compressBound

      public static long ZSTD_compressBound(long srcSize)
      size_t ZSTD_compressBound(size_t srcSize)
    • nZSTD_isError

      public static int nZSTD_isError(long result)
      unsigned int ZSTD_isError(size_t result)
    • ZSTD_isError

      public static boolean ZSTD_isError(long result)
      unsigned int ZSTD_isError(size_t result)
    • ZSTD_getErrorCode

      public static int ZSTD_getErrorCode(long functionResult)
      ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult)
    • nZSTD_getErrorName

      public static long nZSTD_getErrorName(long result)
      char const * ZSTD_getErrorName(size_t result)
    • ZSTD_getErrorName

      public static String ZSTD_getErrorName(long result)
      char const * ZSTD_getErrorName(size_t result)
    • ZSTD_minCLevel

      public static int ZSTD_minCLevel()
      int ZSTD_minCLevel(void)
    • ZSTD_maxCLevel

      public static int ZSTD_maxCLevel()
      int ZSTD_maxCLevel(void)
    • ZSTD_defaultCLevel

      public static int ZSTD_defaultCLevel()
      int ZSTD_defaultCLevel(void)
    • ZSTD_createCCtx

      public static long ZSTD_createCCtx()
      ZSTD_CCtx * ZSTD_createCCtx(void)
    • ZSTD_freeCCtx

      public static long ZSTD_freeCCtx(long cctx)
      size_t ZSTD_freeCCtx(ZSTD_CCtx * cctx)
    • nZSTD_compressCCtx

      public static long nZSTD_compressCCtx(long ctx, long dst, long dstCapacity, long src, long srcSize, int compressionLevel)
      size_t ZSTD_compressCCtx(ZSTD_CCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, int compressionLevel)
    • ZSTD_compressCCtx

      public static long ZSTD_compressCCtx(long ctx, ByteBuffer dst, ByteBuffer src, int compressionLevel)
      size_t ZSTD_compressCCtx(ZSTD_CCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, int compressionLevel)
    • ZSTD_createDCtx

      public static long ZSTD_createDCtx()
      ZSTD_DCtx * ZSTD_createDCtx(void)
    • ZSTD_freeDCtx

      public static long ZSTD_freeDCtx(long dctx)
      size_t ZSTD_freeDCtx(ZSTD_DCtx * dctx)
    • nZSTD_decompressDCtx

      public static long nZSTD_decompressDCtx(long ctx, long dst, long dstCapacity, long src, long srcSize)
      size_t ZSTD_decompressDCtx(ZSTD_DCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize)
    • ZSTD_decompressDCtx

      public static long ZSTD_decompressDCtx(long ctx, ByteBuffer dst, ByteBuffer src)
      size_t ZSTD_decompressDCtx(ZSTD_DCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize)
    • nZSTD_cParam_getBounds

      public static void nZSTD_cParam_getBounds(int cParam, long __result)
      ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter cParam)
    • ZSTD_cParam_getBounds

      public static ZSTDBounds ZSTD_cParam_getBounds(int cParam, ZSTDBounds __result)
      ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter cParam)
    • nZSTD_CCtx_setParameter

      public static long nZSTD_CCtx_setParameter(long cctx, int param, int value)
      size_t ZSTD_CCtx_setParameter(ZSTD_CCtx * cctx, ZSTD_cParameter param, int value)
    • ZSTD_CCtx_setParameter

      public static long ZSTD_CCtx_setParameter(long cctx, int param, int value)
      size_t ZSTD_CCtx_setParameter(ZSTD_CCtx * cctx, ZSTD_cParameter param, int value)
    • nZSTD_CCtx_setPledgedSrcSize

      public static long nZSTD_CCtx_setPledgedSrcSize(long cctx, long pledgedSrcSize)
      size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx * cctx, unsigned long long pledgedSrcSize)
    • ZSTD_CCtx_setPledgedSrcSize

      public static long ZSTD_CCtx_setPledgedSrcSize(long cctx, long pledgedSrcSize)
      size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx * cctx, unsigned long long pledgedSrcSize)
    • nZSTD_CCtx_reset

      public static long nZSTD_CCtx_reset(long cctx, int reset)
      size_t ZSTD_CCtx_reset(ZSTD_CCtx * cctx, ZSTD_ResetDirective reset)
    • ZSTD_CCtx_reset

      public static long ZSTD_CCtx_reset(long cctx, int reset)
      size_t ZSTD_CCtx_reset(ZSTD_CCtx * cctx, ZSTD_ResetDirective reset)
    • nZSTD_compress2

      public static long nZSTD_compress2(long cctx, long dst, long dstCapacity, long src, long srcSize)
      size_t ZSTD_compress2(ZSTD_CCtx * cctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize)
    • ZSTD_compress2

      public static long ZSTD_compress2(long cctx, ByteBuffer dst, ByteBuffer src)
      size_t ZSTD_compress2(ZSTD_CCtx * cctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize)
    • nZSTD_dParam_getBounds

      public static void nZSTD_dParam_getBounds(int dParam, long __result)
      ZSTD_bounds ZSTD_dParam_getBounds(ZSTD_dParameter dParam)
    • ZSTD_dParam_getBounds

      public static ZSTDBounds ZSTD_dParam_getBounds(int dParam, ZSTDBounds __result)
      ZSTD_bounds ZSTD_dParam_getBounds(ZSTD_dParameter dParam)
    • nZSTD_DCtx_setParameter

      public static long nZSTD_DCtx_setParameter(long dctx, int param, int value)
      size_t ZSTD_DCtx_setParameter(ZSTD_DCtx * dctx, ZSTD_dParameter param, int value)
    • ZSTD_DCtx_setParameter

      public static long ZSTD_DCtx_setParameter(long dctx, int param, int value)
      size_t ZSTD_DCtx_setParameter(ZSTD_DCtx * dctx, ZSTD_dParameter param, int value)
    • nZSTD_DCtx_reset

      public static long nZSTD_DCtx_reset(long dctx, int reset)
      size_t ZSTD_DCtx_reset(ZSTD_DCtx * dctx, ZSTD_ResetDirective reset)
    • ZSTD_DCtx_reset

      public static long ZSTD_DCtx_reset(long dctx, int reset)
      size_t ZSTD_DCtx_reset(ZSTD_DCtx * dctx, ZSTD_ResetDirective reset)
    • ZSTD_createCStream

      public static long ZSTD_createCStream()
      ZSTD_CStream * ZSTD_createCStream(void)
    • ZSTD_freeCStream

      public static long ZSTD_freeCStream(long zcs)
      size_t ZSTD_freeCStream(ZSTD_CStream * zcs)
    • nZSTD_compressStream2

      public static long nZSTD_compressStream2(long cctx, long output, long input, int endOp)
      size_t ZSTD_compressStream2(ZSTD_CCtx * cctx, ZSTD_outBuffer * output, ZSTD_inBuffer * input, ZSTD_EndDirective endOp)
    • ZSTD_compressStream2

      public static long ZSTD_compressStream2(long cctx, ZSTDOutBuffer output, ZSTDInBuffer input, int endOp)
      size_t ZSTD_compressStream2(ZSTD_CCtx * cctx, ZSTD_outBuffer * output, ZSTD_inBuffer * input, ZSTD_EndDirective endOp)
    • ZSTD_CStreamInSize

      public static long ZSTD_CStreamInSize()
      size_t ZSTD_CStreamInSize(void)
    • ZSTD_CStreamOutSize

      public static long ZSTD_CStreamOutSize()
      size_t ZSTD_CStreamOutSize(void)
    • ZSTD_createDStream

      public static long ZSTD_createDStream()
      ZSTD_DStream * ZSTD_createDStream(void)
    • ZSTD_freeDStream

      public static long ZSTD_freeDStream(long zds)
      size_t ZSTD_freeDStream(ZSTD_DStream * zds)
    • nZSTD_decompressStream

      public static long nZSTD_decompressStream(long zds, long output, long input)
      size_t ZSTD_decompressStream(ZSTD_DStream * zds, ZSTD_outBuffer * output, ZSTD_inBuffer * input)
    • ZSTD_decompressStream

      public static long ZSTD_decompressStream(long zds, ZSTDOutBuffer output, ZSTDInBuffer input)
      size_t ZSTD_decompressStream(ZSTD_DStream * zds, ZSTD_outBuffer * output, ZSTD_inBuffer * input)
    • ZSTD_DStreamInSize

      public static long ZSTD_DStreamInSize()
      size_t ZSTD_DStreamInSize(void)
    • ZSTD_DStreamOutSize

      public static long ZSTD_DStreamOutSize()
      size_t ZSTD_DStreamOutSize(void)
    • nZSTD_compress_usingDict

      public static long nZSTD_compress_usingDict(long ctx, long dst, long dstCapacity, long src, long srcSize, long dict, long dictSize, int compressionLevel)
      size_t ZSTD_compress_usingDict(ZSTD_CCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, void const * dict, size_t dictSize, int compressionLevel)
    • ZSTD_compress_usingDict

      public static long ZSTD_compress_usingDict(long ctx, ByteBuffer dst, ByteBuffer src, @Nullable ByteBuffer dict, int compressionLevel)
      size_t ZSTD_compress_usingDict(ZSTD_CCtx * ctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, void const * dict, size_t dictSize, int compressionLevel)
    • nZSTD_decompress_usingDict

      public static long nZSTD_decompress_usingDict(long dctx, long dst, long dstCapacity, long src, long srcSize, long dict, long dictSize)
      size_t ZSTD_decompress_usingDict(ZSTD_DCtx * dctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, void const * dict, size_t dictSize)
    • ZSTD_decompress_usingDict

      public static long ZSTD_decompress_usingDict(long dctx, ByteBuffer dst, ByteBuffer src, @Nullable ByteBuffer dict)
      size_t ZSTD_decompress_usingDict(ZSTD_DCtx * dctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, void const * dict, size_t dictSize)
    • nZSTD_createCDict

      public static long nZSTD_createCDict(long dictBuffer, long dictSize, int compressionLevel)
      ZSTD_CDict * ZSTD_createCDict(void const * dictBuffer, size_t dictSize, int compressionLevel)
    • ZSTD_createCDict

      public static long ZSTD_createCDict(ByteBuffer dictBuffer, int compressionLevel)
      ZSTD_CDict * ZSTD_createCDict(void const * dictBuffer, size_t dictSize, int compressionLevel)
    • ZSTD_freeCDict

      public static long ZSTD_freeCDict(long CDict)
      size_t ZSTD_freeCDict(ZSTD_CDict * CDict)
    • nZSTD_compress_usingCDict

      public static long nZSTD_compress_usingCDict(long cctx, long dst, long dstCapacity, long src, long srcSize, long cdict)
      size_t ZSTD_compress_usingCDict(ZSTD_CCtx * cctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, ZSTD_CDict const * cdict)
    • ZSTD_compress_usingCDict

      public static long ZSTD_compress_usingCDict(long cctx, ByteBuffer dst, ByteBuffer src, long cdict)
      size_t ZSTD_compress_usingCDict(ZSTD_CCtx * cctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, ZSTD_CDict const * cdict)
    • nZSTD_createDDict

      public static long nZSTD_createDDict(long dictBuffer, long dictSize)
      ZSTD_DDict * ZSTD_createDDict(void const * dictBuffer, size_t dictSize)
    • ZSTD_createDDict

      public static long ZSTD_createDDict(ByteBuffer dictBuffer)
      ZSTD_DDict * ZSTD_createDDict(void const * dictBuffer, size_t dictSize)
    • ZSTD_freeDDict

      public static long ZSTD_freeDDict(long ddict)
      size_t ZSTD_freeDDict(ZSTD_DDict * ddict)
    • nZSTD_decompress_usingDDict

      public static long nZSTD_decompress_usingDDict(long dctx, long dst, long dstCapacity, long src, long srcSize, long ddict)
      size_t ZSTD_decompress_usingDDict(ZSTD_DCtx * dctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, ZSTD_DDict const * ddict)
    • ZSTD_decompress_usingDDict

      public static long ZSTD_decompress_usingDDict(long dctx, ByteBuffer dst, ByteBuffer src, long ddict)
      size_t ZSTD_decompress_usingDDict(ZSTD_DCtx * dctx, void * dst, size_t dstCapacity, void const * src, size_t srcSize, ZSTD_DDict const * ddict)
    • nZSTD_getDictID_fromDict

      public static int nZSTD_getDictID_fromDict(long dict, long dictSize)
      unsigned int ZSTD_getDictID_fromDict(void const * dict, size_t dictSize)
    • ZSTD_getDictID_fromDict

      public static int ZSTD_getDictID_fromDict(ByteBuffer dict)
      unsigned int ZSTD_getDictID_fromDict(void const * dict, size_t dictSize)
    • nZSTD_getDictID_fromCDict

      public static int nZSTD_getDictID_fromCDict(long cdict)
      unsigned ZSTD_getDictID_fromCDict(ZSTD_CDict const * cdict)
    • ZSTD_getDictID_fromCDict

      public static int ZSTD_getDictID_fromCDict(long cdict)
      unsigned ZSTD_getDictID_fromCDict(ZSTD_CDict const * cdict)
    • nZSTD_getDictID_fromDDict

      public static int nZSTD_getDictID_fromDDict(long ddict)
      unsigned int ZSTD_getDictID_fromDDict(ZSTD_DDict const * ddict)
    • ZSTD_getDictID_fromDDict

      public static int ZSTD_getDictID_fromDDict(long ddict)
      unsigned int ZSTD_getDictID_fromDDict(ZSTD_DDict const * ddict)
    • nZSTD_getDictID_fromFrame

      public static int nZSTD_getDictID_fromFrame(long src, long srcSize)
      unsigned int ZSTD_getDictID_fromFrame(void const * src, size_t srcSize)
    • ZSTD_getDictID_fromFrame

      public static int ZSTD_getDictID_fromFrame(ByteBuffer src)
      unsigned int ZSTD_getDictID_fromFrame(void const * src, size_t srcSize)
    • nZSTD_CCtx_loadDictionary

      public static long nZSTD_CCtx_loadDictionary(long cctx, long dict, long dictSize)
      size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx * cctx, void const * dict, size_t dictSize)
    • ZSTD_CCtx_loadDictionary

      public static long ZSTD_CCtx_loadDictionary(long cctx, @Nullable ByteBuffer dict)
      size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx * cctx, void const * dict, size_t dictSize)
    • nZSTD_CCtx_refCDict

      public static long nZSTD_CCtx_refCDict(long cctx, long cdict)
      size_t ZSTD_CCtx_refCDict(ZSTD_CCtx * cctx, ZSTD_CDict const * cdict)
    • ZSTD_CCtx_refCDict

      public static long ZSTD_CCtx_refCDict(long cctx, long cdict)
      size_t ZSTD_CCtx_refCDict(ZSTD_CCtx * cctx, ZSTD_CDict const * cdict)
    • nZSTD_CCtx_refPrefix

      public static long nZSTD_CCtx_refPrefix(long cctx, long prefix, long prefixSize)
      size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx * cctx, void const * prefix, size_t prefixSize)
    • ZSTD_CCtx_refPrefix

      public static long ZSTD_CCtx_refPrefix(long cctx, @Nullable ByteBuffer prefix)
      size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx * cctx, void const * prefix, size_t prefixSize)
    • nZSTD_DCtx_loadDictionary

      public static long nZSTD_DCtx_loadDictionary(long dctx, long dict, long dictSize)
      size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx * dctx, void const * dict, size_t dictSize)
    • ZSTD_DCtx_loadDictionary

      public static long ZSTD_DCtx_loadDictionary(long dctx, @Nullable ByteBuffer dict)
      size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx * dctx, void const * dict, size_t dictSize)
    • nZSTD_DCtx_refDDict

      public static long nZSTD_DCtx_refDDict(long dctx, long ddict)
      size_t ZSTD_DCtx_refDDict(ZSTD_DCtx * dctx, ZSTD_DDict const * ddict)
    • ZSTD_DCtx_refDDict

      public static long ZSTD_DCtx_refDDict(long dctx, long ddict)
      size_t ZSTD_DCtx_refDDict(ZSTD_DCtx * dctx, ZSTD_DDict const * ddict)
    • nZSTD_DCtx_refPrefix

      public static long nZSTD_DCtx_refPrefix(long dctx, long prefix, long prefixSize)
      size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx * dctx, void const * prefix, size_t prefixSize)
    • ZSTD_DCtx_refPrefix

      public static long ZSTD_DCtx_refPrefix(long dctx, ByteBuffer prefix)
      size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx * dctx, void const * prefix, size_t prefixSize)
    • nZSTD_sizeof_CCtx

      public static long nZSTD_sizeof_CCtx(long cctx)
      size_t ZSTD_sizeof_CCtx(ZSTD_CCtx const * cctx)
    • ZSTD_sizeof_CCtx

      public static long ZSTD_sizeof_CCtx(long cctx)
      size_t ZSTD_sizeof_CCtx(ZSTD_CCtx const * cctx)
    • nZSTD_sizeof_DCtx

      public static long nZSTD_sizeof_DCtx(long dctx)
      size_t ZSTD_sizeof_DCtx(ZSTD_DCtx const * dctx)
    • ZSTD_sizeof_DCtx

      public static long ZSTD_sizeof_DCtx(long dctx)
      size_t ZSTD_sizeof_DCtx(ZSTD_DCtx const * dctx)
    • nZSTD_sizeof_CStream

      public static long nZSTD_sizeof_CStream(long zcs)
      size_t ZSTD_sizeof_CStream(ZSTD_CStream const * zcs)
    • ZSTD_sizeof_CStream

      public static long ZSTD_sizeof_CStream(long zcs)
      size_t ZSTD_sizeof_CStream(ZSTD_CStream const * zcs)
    • nZSTD_sizeof_DStream

      public static long nZSTD_sizeof_DStream(long zds)
      size_t ZSTD_sizeof_DStream(ZSTD_DStream const * zds)
    • ZSTD_sizeof_DStream

      public static long ZSTD_sizeof_DStream(long zds)
      size_t ZSTD_sizeof_DStream(ZSTD_DStream const * zds)
    • nZSTD_sizeof_CDict

      public static long nZSTD_sizeof_CDict(long cdict)
      size_t ZSTD_sizeof_CDict(ZSTD_CDict const * cdict)
    • ZSTD_sizeof_CDict

      public static long ZSTD_sizeof_CDict(long cdict)
      size_t ZSTD_sizeof_CDict(ZSTD_CDict const * cdict)
    • nZSTD_sizeof_DDict

      public static long nZSTD_sizeof_DDict(long ddict)
      size_t ZSTD_sizeof_DDict(ZSTD_DDict const * ddict)
    • ZSTD_sizeof_DDict

      public static long ZSTD_sizeof_DDict(long ddict)
      size_t ZSTD_sizeof_DDict(ZSTD_DDict const * ddict)
    • ZSTD_COMPRESSBOUND

      public static long ZSTD_COMPRESSBOUND(long srcSize)
      Pure Java version of ZSTD_compressBound(long).