public static class LZ4FFrameInfo.Buffer extends org.lwjgl.system.StructBuffer<LZ4FFrameInfo,LZ4FFrameInfo.Buffer> implements org.lwjgl.system.NativeResource
LZ4FFrameInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
LZ4FFrameInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
blockChecksumFlag()
Returns the value of the
blockChecksumFlag field. |
LZ4FFrameInfo.Buffer |
blockChecksumFlag(int value)
Sets the specified value to the
blockChecksumFlag field. |
int |
blockMode()
Returns the value of the
blockMode field. |
LZ4FFrameInfo.Buffer |
blockMode(int value)
Sets the specified value to the
blockMode field. |
int |
blockSizeID()
Returns the value of the
blockSizeID field. |
LZ4FFrameInfo.Buffer |
blockSizeID(int value)
Sets the specified value to the
blockSizeID field. |
int |
contentChecksumFlag()
Returns the value of the
contentChecksumFlag field. |
LZ4FFrameInfo.Buffer |
contentChecksumFlag(int value)
Sets the specified value to the
contentChecksumFlag field. |
long |
contentSize()
Returns the value of the
contentSize field. |
LZ4FFrameInfo.Buffer |
contentSize(long value)
Sets the specified value to the
contentSize field. |
int |
dictID()
Returns the value of the
dictID field. |
LZ4FFrameInfo.Buffer |
dictID(int value)
Sets the specified value to the
dictID field. |
int |
frameType()
Returns the value of the
frameType field. |
LZ4FFrameInfo.Buffer |
frameType(int value)
Sets the specified value to the
frameType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
LZ4FFrameInfo.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 LZ4FFrameInfo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int blockSizeID()
blockSizeID field.public int blockMode()
blockMode field.public int contentChecksumFlag()
contentChecksumFlag field.public int frameType()
frameType field.public long contentSize()
contentSize field.public int dictID()
dictID field.public int blockChecksumFlag()
blockChecksumFlag field.public LZ4FFrameInfo.Buffer blockSizeID(int value)
blockSizeID field.public LZ4FFrameInfo.Buffer blockMode(int value)
blockMode field.public LZ4FFrameInfo.Buffer contentChecksumFlag(int value)
contentChecksumFlag field.public LZ4FFrameInfo.Buffer frameType(int value)
frameType field.public LZ4FFrameInfo.Buffer contentSize(long value)
contentSize field.public LZ4FFrameInfo.Buffer dictID(int value)
dictID field.public LZ4FFrameInfo.Buffer blockChecksumFlag(int value)
blockChecksumFlag field.Copyright LWJGL. All Rights Reserved. License terms.