public class LZ4StreamHC
extends org.lwjgl.system.Struct
union LZ4_streamHC_t {
size_t table[LZ4_STREAMHCSIZE_SIZET];
struct LZ4HC_CCtx_internal internal_donotuse;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LZ4StreamHC.Buffer
An array of
LZ4StreamHC structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
INTERNAL_DONOTUSE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TABLE
The struct member offsets.
|
| Constructor and Description |
|---|
LZ4StreamHC(java.nio.ByteBuffer container)
Creates a
LZ4StreamHC instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LZ4StreamHC |
create(long address)
Returns a new
LZ4StreamHC instance for the specified memory address. |
static LZ4StreamHC.Buffer |
create(long address,
int capacity)
Create a
LZ4StreamHC.Buffer instance at the specified memory. |
static LZ4StreamHC |
createSafe(long address)
|
static LZ4StreamHC.Buffer |
createSafe(long address,
int capacity)
|
LZ4HCCCtxInternal |
internal_donotuse()
Returns a
LZ4HCCCtxInternal view of the internal_donotuse field. |
static LZ4HCCCtxInternal |
ninternal_donotuse(long struct)
Unsafe version of
internal_donotuse(). |
static org.lwjgl.PointerBuffer |
ntable(long struct)
Unsafe version of
table(). |
static long |
ntable(long struct,
int index)
Unsafe version of
table. |
int |
sizeof() |
org.lwjgl.PointerBuffer |
table()
Returns a
PointerBuffer view of the table field. |
long |
table(int index)
Returns the value at the specified index of the
table field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TABLE
public static final int INTERNAL_DONOTUSE
public LZ4StreamHC(java.nio.ByteBuffer container)
LZ4StreamHC instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic org.lwjgl.PointerBuffer table()
PointerBuffer view of the table field.public long table(int index)
table field.public LZ4HCCCtxInternal internal_donotuse()
LZ4HCCCtxInternal view of the internal_donotuse field.public static LZ4StreamHC create(long address)
LZ4StreamHC instance for the specified memory address.@Nullable public static LZ4StreamHC createSafe(long address)
public static LZ4StreamHC.Buffer create(long address, int capacity)
LZ4StreamHC.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LZ4StreamHC.Buffer createSafe(long address, int capacity)
public static org.lwjgl.PointerBuffer ntable(long struct)
table().public static long ntable(long struct,
int index)
table.public static LZ4HCCCtxInternal ninternal_donotuse(long struct)
internal_donotuse().Copyright LWJGL. All Rights Reserved. License terms.