Package org.lwjgl.util.lz4
Class LZ4FFrameInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<LZ4FFrameInfo,LZ4FFrameInfo.Buffer>
-
- org.lwjgl.util.lz4.LZ4FFrameInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<LZ4FFrameInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- LZ4FFrameInfo
public static class LZ4FFrameInfo.Buffer extends org.lwjgl.system.StructBuffer<LZ4FFrameInfo,LZ4FFrameInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofLZ4FFrameInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newLZ4FFrameInfo.Bufferinstance 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 byLZ4FFrameInfo.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 Detail
-
blockSizeID
public int blockSizeID()
- Returns:
- the value of the
LZ4FFrameInfo.blockSizeID()field.
-
blockMode
public int blockMode()
- Returns:
- the value of the
LZ4FFrameInfo.blockMode()field.
-
contentChecksumFlag
public int contentChecksumFlag()
- Returns:
- the value of the
LZ4FFrameInfo.contentChecksumFlag()field.
-
frameType
public int frameType()
- Returns:
- the value of the
LZ4FFrameInfo.frameType()field.
-
contentSize
public long contentSize()
- Returns:
- the value of the
LZ4FFrameInfo.contentSize()field.
-
dictID
public int dictID()
- Returns:
- the value of the
LZ4FFrameInfo.dictID()field.
-
blockChecksumFlag
public int blockChecksumFlag()
- Returns:
- the value of the
LZ4FFrameInfo.blockChecksumFlag()field.
-
blockSizeID
public LZ4FFrameInfo.Buffer blockSizeID(int value)
Sets the specified value to theLZ4FFrameInfo.blockSizeID()field.
-
blockMode
public LZ4FFrameInfo.Buffer blockMode(int value)
Sets the specified value to theLZ4FFrameInfo.blockMode()field.
-
contentChecksumFlag
public LZ4FFrameInfo.Buffer contentChecksumFlag(int value)
Sets the specified value to theLZ4FFrameInfo.contentChecksumFlag()field.
-
frameType
public LZ4FFrameInfo.Buffer frameType(int value)
Sets the specified value to theLZ4FFrameInfo.frameType()field.
-
contentSize
public LZ4FFrameInfo.Buffer contentSize(long value)
Sets the specified value to theLZ4FFrameInfo.contentSize()field.
-
dictID
public LZ4FFrameInfo.Buffer dictID(int value)
Sets the specified value to theLZ4FFrameInfo.dictID()field.
-
blockChecksumFlag
public LZ4FFrameInfo.Buffer blockChecksumFlag(int value)
Sets the specified value to theLZ4FFrameInfo.blockChecksumFlag()field.
-
-