Class ZSTDFrameProgression

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class ZSTDFrameProgression extends Struct<ZSTDFrameProgression> implements NativeResource

 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;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int INGESTED
      The struct member offsets.
    • CONSUMED

      public static final int CONSUMED
      The struct member offsets.
    • PRODUCED

      public static final int PRODUCED
      The struct member offsets.
    • FLUSHED

      public static final int FLUSHED
      The struct member offsets.
    • CURRENTJOBID

      public static final int CURRENTJOBID
      The struct member offsets.
    • NBACTIVEWORKERS

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

    • ZSTDFrameProgression

      public ZSTDFrameProgression(ByteBuffer container)
      Creates a ZSTDFrameProgression 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