Package org.lwjgl.util.lz4
Class LZ4StreamDecode
- All Implemented Interfaces:
Pointer
Layout
union LZ4_streamDecode_t {
char minStateSize[LZ4_STREAMDECODE_MINSIZE];
LZ4_streamDecode_t_internal
internal_donotuse;
}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionLZ4StreamDecode
(ByteBuffer container) Creates aLZ4StreamDecode
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4StreamDecode
create
(long address) Returns a newLZ4StreamDecode
instance for the specified memory address.static LZ4StreamDecode.Buffer
create
(long address, int capacity) Create aLZ4StreamDecode.Buffer
instance at the specified memory.static LZ4StreamDecode
createSafe
(long address) static LZ4StreamDecode.Buffer
createSafe
(long address, int capacity) byte
minStateSize
(int index) static LZ4StreamDecodeInternal
ninternal_donotuse
(long struct) Unsafe version ofinternal_donotuse()
.static ByteBuffer
nminStateSize
(long struct) Unsafe version ofminStateSize()
.static byte
nminStateSize
(long struct, int index) Unsafe version ofminStateSize
.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
MINSTATESIZE
public static final int MINSTATESIZEThe struct member offsets. -
INTERNAL_DONOTUSE
public static final int INTERNAL_DONOTUSEThe struct member offsets.
-
-
Constructor Details
-
LZ4StreamDecode
Creates aLZ4StreamDecode
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<LZ4StreamDecode>
-
minStateSize
- Returns:
- a
ByteBuffer
view of theminStateSize
field.
-
minStateSize
public byte minStateSize(int index) - Returns:
- the value at the specified index of the
minStateSize
field.
-
internal_donotuse
- Returns:
- a
LZ4StreamDecodeInternal
view of theinternal_donotuse
field.
-
create
Returns a newLZ4StreamDecode
instance for the specified memory address. -
createSafe
-
create
Create aLZ4StreamDecode.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nminStateSize
Unsafe version ofminStateSize()
. -
nminStateSize
public static byte nminStateSize(long struct, int index) Unsafe version ofminStateSize
. -
ninternal_donotuse
Unsafe version ofinternal_donotuse()
.
-