Class LZ4FDecompressOptions.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<LZ4FDecompressOptions>, NativeResource, Pointer
Enclosing class:
LZ4FDecompressOptions

public static class LZ4FDecompressOptions.Buffer extends StructBuffer<LZ4FDecompressOptions,LZ4FDecompressOptions.Buffer> implements NativeResource
An array of LZ4FDecompressOptions structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new LZ4FDecompressOptions.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by LZ4FDecompressOptions.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • stableDst

      public int stableDst()
      Returns:
      the value of the stableDst field.
    • skipChecksums

      public int skipChecksums()
      Returns:
      the value of the skipChecksums field.
    • reserved1

      public int reserved1()
      Returns:
      the value of the reserved1 field.
    • reserved0

      public int reserved0()
      Returns:
      the value of the reserved0 field.
    • stableDst

      public LZ4FDecompressOptions.Buffer stableDst(int value)
      Sets the specified value to the stableDst field.
    • skipChecksums

      public LZ4FDecompressOptions.Buffer skipChecksums(int value)
      Sets the specified value to the skipChecksums field.
    • reserved1

      public LZ4FDecompressOptions.Buffer reserved1(int value)
      Sets the specified value to the reserved1 field.
    • reserved0

      public LZ4FDecompressOptions.Buffer reserved0(int value)
      Sets the specified value to the reserved0 field.