Class LZ4FPreferences

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class LZ4FPreferences extends Struct<LZ4FPreferences> implements NativeResource

 struct LZ4F_preferences_t {
     {@link LZ4FFrameInfo LZ4F_frameInfo_t} frameInfo;
     int compressionLevel;
     unsigned autoFlush;
     unsigned favorDecSpeed;
     unsigned reserved[3];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FRAMEINFO
      The struct member offsets.
    • COMPRESSIONLEVEL

      public static final int COMPRESSIONLEVEL
      The struct member offsets.
    • AUTOFLUSH

      public static final int AUTOFLUSH
      The struct member offsets.
    • FAVORDECSPEED

      public static final int FAVORDECSPEED
      The struct member offsets.
    • RESERVED

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

    • LZ4FPreferences

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