public static class LZ4HCCCtxInternal.Buffer extends org.lwjgl.system.StructBuffer<LZ4HCCCtxInternal,LZ4HCCCtxInternal.Buffer>
LZ4HCCCtxInternal structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
LZ4HCCCtxInternal.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
base(int capacity)
Returns a
ByteBuffer view of the data pointed to by the base field. |
java.nio.ShortBuffer |
chainTable()
Returns a
ShortBuffer view of the chainTable field. |
short |
chainTable(int index)
Returns the value at the specified index of the
chainTable field. |
short |
compressionLevel()
Returns the value of the
compressionLevel field. |
java.nio.ByteBuffer |
dictBase(int capacity)
Returns a
ByteBuffer view of the data pointed to by the dictBase field. |
LZ4HCCCtxInternal |
dictCtx()
Returns a
LZ4HCCCtxInternal view of the struct pointed to by the dictCtx field. |
int |
dictLimit()
Returns the value of the
dictLimit field. |
byte |
dirty()
Returns the value of the
dirty field. |
java.nio.ByteBuffer |
end(int capacity)
Returns a
ByteBuffer view of the data pointed to by the end field. |
byte |
favorDecSpeed()
Returns the value of the
favorDecSpeed field. |
java.nio.IntBuffer |
hashTable()
Returns a
IntBuffer view of the hashTable field. |
int |
hashTable(int index)
Returns the value at the specified index of the
hashTable field. |
int |
lowLimit()
Returns the value of the
lowLimit field. |
int |
nextToUpdate()
Returns the value of the
nextToUpdate field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
LZ4HCCCtxInternal.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 LZ4HCCCtxInternal.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.IntBuffer hashTable()
IntBuffer view of the hashTable field.public int hashTable(int index)
hashTable field.public java.nio.ShortBuffer chainTable()
ShortBuffer view of the chainTable field.public short chainTable(int index)
chainTable field.public java.nio.ByteBuffer end(int capacity)
ByteBuffer view of the data pointed to by the end field.capacity - the number of elements in the returned bufferpublic java.nio.ByteBuffer base(int capacity)
ByteBuffer view of the data pointed to by the base field.capacity - the number of elements in the returned bufferpublic java.nio.ByteBuffer dictBase(int capacity)
ByteBuffer view of the data pointed to by the dictBase field.capacity - the number of elements in the returned bufferpublic int dictLimit()
dictLimit field.public int lowLimit()
lowLimit field.public int nextToUpdate()
nextToUpdate field.public short compressionLevel()
compressionLevel field.public byte favorDecSpeed()
favorDecSpeed field.public byte dirty()
dirty field.public LZ4HCCCtxInternal dictCtx()
LZ4HCCCtxInternal view of the struct pointed to by the dictCtx field.Copyright LWJGL. All Rights Reserved. License terms.