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 ofLZ4FFrameInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
blockChecksumFlag()
Returns the value of theblockChecksumFlag
field.LZ4FFrameInfo.Buffer
blockChecksumFlag(int value)
Sets the specified value to theblockChecksumFlag
field.int
blockMode()
Returns the value of theblockMode
field.LZ4FFrameInfo.Buffer
blockMode(int value)
Sets the specified value to theblockMode
field.int
blockSizeID()
Returns the value of theblockSizeID
field.LZ4FFrameInfo.Buffer
blockSizeID(int value)
Sets the specified value to theblockSizeID
field.int
contentChecksumFlag()
Returns the value of thecontentChecksumFlag
field.LZ4FFrameInfo.Buffer
contentChecksumFlag(int value)
Sets the specified value to thecontentChecksumFlag
field.long
contentSize()
Returns the value of thecontentSize
field.LZ4FFrameInfo.Buffer
contentSize(long value)
Sets the specified value to thecontentSize
field.int
dictID()
Returns the value of thedictID
field.LZ4FFrameInfo.Buffer
dictID(int value)
Sets the specified value to thedictID
field.int
frameType()
Returns the value of theframeType
field.LZ4FFrameInfo.Buffer
frameType(int value)
Sets the specified value to theframeType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newLZ4FFrameInfo.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 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 theblockSizeID
field.
-
blockMode
public int blockMode()
Returns the value of theblockMode
field.
-
contentChecksumFlag
public int contentChecksumFlag()
Returns the value of thecontentChecksumFlag
field.
-
frameType
public int frameType()
Returns the value of theframeType
field.
-
contentSize
public long contentSize()
Returns the value of thecontentSize
field.
-
dictID
public int dictID()
Returns the value of thedictID
field.
-
blockChecksumFlag
public int blockChecksumFlag()
Returns the value of theblockChecksumFlag
field.
-
blockSizeID
public LZ4FFrameInfo.Buffer blockSizeID(int value)
Sets the specified value to theblockSizeID
field.
-
blockMode
public LZ4FFrameInfo.Buffer blockMode(int value)
Sets the specified value to theblockMode
field.
-
contentChecksumFlag
public LZ4FFrameInfo.Buffer contentChecksumFlag(int value)
Sets the specified value to thecontentChecksumFlag
field.
-
frameType
public LZ4FFrameInfo.Buffer frameType(int value)
Sets the specified value to theframeType
field.
-
contentSize
public LZ4FFrameInfo.Buffer contentSize(long value)
Sets the specified value to thecontentSize
field.
-
dictID
public LZ4FFrameInfo.Buffer dictID(int value)
Sets the specified value to thedictID
field.
-
blockChecksumFlag
public LZ4FFrameInfo.Buffer blockChecksumFlag(int value)
Sets the specified value to theblockChecksumFlag
field.
-
-