public static class XXH3State.Buffer extends org.lwjgl.system.StructBuffer<XXH3State,XXH3State.Buffer> implements org.lwjgl.system.NativeResource
XXH3State structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
XXH3State.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.LongBuffer |
acc()
Returns a
LongBuffer view of the acc field. |
long |
acc(int index)
Returns the value at the specified index of the
acc field. |
java.nio.ByteBuffer |
buffer()
Returns a
ByteBuffer view of the buffer field. |
byte |
buffer(int index)
Returns the value at the specified index of the
buffer field. |
int |
bufferedSize()
Returns the value of the
bufferedSize field. |
java.nio.ByteBuffer |
customSecret()
Returns a
ByteBuffer view of the customSecret field. |
byte |
customSecret(int index)
Returns the value at the specified index of the
customSecret field. |
int |
nbStripesPerBlock()
Returns the value of the
nbStripesPerBlock field. |
int |
nbStripesSoFar()
Returns the value of the
nbStripesSoFar field. |
int |
reserved32_2()
Returns the value of the
reserved32_2 field. |
int |
reserved32()
Returns the value of the
reserved32 field. |
long |
reserved64()
Returns the value of the
reserved64 field. |
java.nio.ByteBuffer |
secret(int capacity)
Returns a
ByteBuffer view of the data pointed to by the secret field. |
int |
secretLimit()
Returns the value of the
secretLimit field. |
long |
seed()
Returns the value of the
seed field. |
long |
totalLen()
Returns the value of the
totalLen field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
XXH3State.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 XXH3State.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 java.nio.LongBuffer acc()
LongBuffer view of the acc field.public long acc(int index)
acc field.public java.nio.ByteBuffer customSecret()
ByteBuffer view of the customSecret field.public byte customSecret(int index)
customSecret field.public java.nio.ByteBuffer buffer()
ByteBuffer view of the buffer field.public byte buffer(int index)
buffer field.public int bufferedSize()
bufferedSize field.public int nbStripesPerBlock()
nbStripesPerBlock field.public int nbStripesSoFar()
nbStripesSoFar field.public int secretLimit()
secretLimit field.public int reserved32()
reserved32 field.public int reserved32_2()
reserved32_2 field.public long totalLen()
totalLen field.public long seed()
seed field.public long reserved64()
reserved64 field.public java.nio.ByteBuffer secret(int capacity)
ByteBuffer view of the data pointed to by the secret field.capacity - the number of elements in the returned bufferCopyright LWJGL. All Rights Reserved. License terms.