public class LZ4Stream
extends org.lwjgl.system.Struct
union LZ4_stream_t {
unsigned long long table[LZ4_STREAMSIZE_U64];
struct LZ4_stream_t_internal internal_donotuse;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LZ4Stream.Buffer
An array of
LZ4Stream 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 |
|---|
LZ4Stream(java.nio.ByteBuffer container)
Creates a
LZ4Stream instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LZ4Stream |
create(long address)
Returns a new
LZ4Stream instance for the specified memory address. |
static LZ4Stream.Buffer |
create(long address,
int capacity)
Create a
LZ4Stream.Buffer instance at the specified memory. |
static LZ4Stream |
createSafe(long address)
|
static LZ4Stream.Buffer |
createSafe(long address,
int capacity)
|
LZ4StreamInternal |
internal_donotuse()
Returns a
LZ4StreamInternal view of the internal_donotuse field. |
static LZ4StreamInternal |
ninternal_donotuse(long struct)
Unsafe version of
internal_donotuse(). |
static java.nio.LongBuffer |
ntable(long struct)
Unsafe version of
table(). |
static long |
ntable(long struct,
int index)
Unsafe version of
table. |
int |
sizeof() |
java.nio.LongBuffer |
table()
Returns a
LongBuffer 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 LZ4Stream(java.nio.ByteBuffer container)
LZ4Stream 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 java.nio.LongBuffer table()
LongBuffer view of the table field.public long table(int index)
table field.public LZ4StreamInternal internal_donotuse()
LZ4StreamInternal view of the internal_donotuse field.public static LZ4Stream create(long address)
LZ4Stream instance for the specified memory address.@Nullable public static LZ4Stream createSafe(long address)
public static LZ4Stream.Buffer create(long address, int capacity)
LZ4Stream.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LZ4Stream.Buffer createSafe(long address, int capacity)
public static java.nio.LongBuffer ntable(long struct)
table().public static long ntable(long struct,
int index)
table.public static LZ4StreamInternal ninternal_donotuse(long struct)
internal_donotuse().Copyright LWJGL. All Rights Reserved. License terms.