public class LLVMOptRemarkStringRef
extends org.lwjgl.system.Struct
struct LLVMOptRemarkStringRef {
char const * Str;
uint32_t Len;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMOptRemarkStringRef.Buffer
An array of
LLVMOptRemarkStringRef structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LEN
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STR
The struct member offsets.
|
| Constructor and Description |
|---|
LLVMOptRemarkStringRef(java.nio.ByteBuffer container)
Creates a
LLVMOptRemarkStringRef instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LLVMOptRemarkStringRef |
create(long address)
Returns a new
LLVMOptRemarkStringRef instance for the specified memory address. |
static LLVMOptRemarkStringRef.Buffer |
create(long address,
int capacity)
Create a
LLVMOptRemarkStringRef.Buffer instance at the specified memory. |
static LLVMOptRemarkStringRef |
createSafe(long address)
|
static LLVMOptRemarkStringRef.Buffer |
createSafe(long address,
int capacity)
|
int |
Len()
Returns the value of the
Len field. |
static int |
nLen(long struct)
Unsafe version of
Len(). |
static java.nio.ByteBuffer |
nStr(long struct)
Unsafe version of
Str(). |
static java.lang.String |
nStrString(long struct)
Unsafe version of
StrString(). |
int |
sizeof() |
java.nio.ByteBuffer |
Str()
Returns a
ByteBuffer view of the null-terminated string pointed to by the Str field. |
java.lang.String |
StrString()
Decodes the null-terminated string pointed to by the
Str field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STR
public static final int LEN
public LLVMOptRemarkStringRef(java.nio.ByteBuffer container)
LLVMOptRemarkStringRef 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 Str()
ByteBuffer view of the null-terminated string pointed to by the Str field.public java.lang.String StrString()
Str field.public int Len()
Len field.public static LLVMOptRemarkStringRef create(long address)
LLVMOptRemarkStringRef instance for the specified memory address.@Nullable public static LLVMOptRemarkStringRef createSafe(long address)
public static LLVMOptRemarkStringRef.Buffer create(long address, int capacity)
LLVMOptRemarkStringRef.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LLVMOptRemarkStringRef.Buffer createSafe(long address, int capacity)
public static java.nio.ByteBuffer nStr(long struct)
Str().public static java.lang.String nStrString(long struct)
StrString().public static int nLen(long struct)
Len().Copyright LWJGL. All Rights Reserved. License terms.