Class ZSTDCompressionParameters

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct ZSTD_compressionParameters") public class ZSTDCompressionParameters extends Struct<ZSTDCompressionParameters> implements NativeResource
struct ZSTD_compressionParameters {
    unsigned int windowLog;
    unsigned int chainLog;
    unsigned int hashLog;
    unsigned int searchLog;
    unsigned int minMatch;
    unsigned int targetLength;
    ZSTD_strategy strategy;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • WINDOWLOG

      public static final int WINDOWLOG
      The struct member offsets.
    • CHAINLOG

      public static final int CHAINLOG
      The struct member offsets.
    • HASHLOG

      public static final int HASHLOG
      The struct member offsets.
    • SEARCHLOG

      public static final int SEARCHLOG
      The struct member offsets.
    • MINMATCH

      public static final int MINMATCH
      The struct member offsets.
    • TARGETLENGTH

      public static final int TARGETLENGTH
      The struct member offsets.
    • STRATEGY

      public static final int STRATEGY
      The struct member offsets.
  • Constructor Details

    • ZSTDCompressionParameters

      public ZSTDCompressionParameters(ByteBuffer container)
      Creates a ZSTDCompressionParameters instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details