Class ZSTDBounds

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class ZSTDBounds extends Struct<ZSTDBounds> implements NativeResource

 struct ZSTD_bounds {
     size_t error;
     int lowerBound;
     int upperBound;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int ERROR
      The struct member offsets.
    • LOWERBOUND

      public static final int LOWERBOUND
      The struct member offsets.
    • UPPERBOUND

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

    • ZSTDBounds

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