public class LZ4StreamDecodeInternal
extends org.lwjgl.system.Struct
struct LZ4_streamDecode_t_internal {
uint8_t const * externalDict;
size_t extDictSize;
uint8_t const * prefixEnd;
size_t prefixSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LZ4StreamDecodeInternal.Buffer
An array of
LZ4StreamDecodeInternal structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXTDICTSIZE
The struct member offsets.
|
static int |
EXTERNALDICT
The struct member offsets.
|
static int |
PREFIXEND
The struct member offsets.
|
static int |
PREFIXSIZE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
LZ4StreamDecodeInternal(java.nio.ByteBuffer container)
Creates a
LZ4StreamDecodeInternal instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LZ4StreamDecodeInternal |
create(long address)
Returns a new
LZ4StreamDecodeInternal instance for the specified memory address. |
static LZ4StreamDecodeInternal.Buffer |
create(long address,
int capacity)
Create a
LZ4StreamDecodeInternal.Buffer instance at the specified memory. |
static LZ4StreamDecodeInternal |
createSafe(long address)
|
static LZ4StreamDecodeInternal.Buffer |
createSafe(long address,
int capacity)
|
long |
extDictSize()
Returns the value of the
extDictSize field. |
java.nio.ByteBuffer |
externalDict(int capacity)
Returns a
ByteBuffer view of the data pointed to by the externalDict field. |
static long |
nextDictSize(long struct)
Unsafe version of
extDictSize(). |
static java.nio.ByteBuffer |
nexternalDict(long struct,
int capacity)
Unsafe version of
externalDict. |
static java.nio.ByteBuffer |
nprefixEnd(long struct,
int capacity)
Unsafe version of
prefixEnd. |
static long |
nprefixSize(long struct)
Unsafe version of
prefixSize(). |
java.nio.ByteBuffer |
prefixEnd(int capacity)
Returns a
ByteBuffer view of the data pointed to by the prefixEnd field. |
long |
prefixSize()
Returns the value of the
prefixSize field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int EXTERNALDICT
public static final int EXTDICTSIZE
public static final int PREFIXEND
public static final int PREFIXSIZE
public LZ4StreamDecodeInternal(java.nio.ByteBuffer container)
LZ4StreamDecodeInternal 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.ByteBuffer externalDict(int capacity)
ByteBuffer view of the data pointed to by the externalDict field.capacity - the number of elements in the returned bufferpublic long extDictSize()
extDictSize field.public java.nio.ByteBuffer prefixEnd(int capacity)
ByteBuffer view of the data pointed to by the prefixEnd field.capacity - the number of elements in the returned bufferpublic long prefixSize()
prefixSize field.public static LZ4StreamDecodeInternal create(long address)
LZ4StreamDecodeInternal instance for the specified memory address.@Nullable public static LZ4StreamDecodeInternal createSafe(long address)
public static LZ4StreamDecodeInternal.Buffer create(long address, int capacity)
LZ4StreamDecodeInternal.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LZ4StreamDecodeInternal.Buffer createSafe(long address, int capacity)
public static java.nio.ByteBuffer nexternalDict(long struct,
int capacity)
externalDict.public static long nextDictSize(long struct)
extDictSize().public static java.nio.ByteBuffer nprefixEnd(long struct,
int capacity)
prefixEnd.public static long nprefixSize(long struct)
prefixSize().Copyright LWJGL. All Rights Reserved. License terms.