Package org.lwjgl.llvm
Class LLVMOpInfoSymbol1.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<LLVMOpInfoSymbol1,LLVMOpInfoSymbol1.Buffer>
-
- org.lwjgl.llvm.LLVMOpInfoSymbol1.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<LLVMOpInfoSymbol1>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- LLVMOpInfoSymbol1
public static class LLVMOpInfoSymbol1.Buffer extends org.lwjgl.system.StructBuffer<LLVMOpInfoSymbol1,LLVMOpInfoSymbol1.Buffer> implements org.lwjgl.system.NativeResource
An array ofLLVMOpInfoSymbol1
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
Name()
Returns aByteBuffer
view of the null-terminated string pointed to by theName
field.LLVMOpInfoSymbol1.Buffer
Name(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theName
field.java.lang.String
NameString()
Decodes the null-terminated string pointed to by theName
field.long
Present()
Returns the value of thePresent
field.LLVMOpInfoSymbol1.Buffer
Present(long value)
Sets the specified value to thePresent
field.long
Value()
Returns the value of theValue
field.LLVMOpInfoSymbol1.Buffer
Value(long value)
Sets the specified value to theValue
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newLLVMOpInfoSymbol1.Buffer
instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byLLVMOpInfoSymbol1.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
Present
public long Present()
Returns the value of thePresent
field.
-
Name
@Nullable public java.nio.ByteBuffer Name()
Returns aByteBuffer
view of the null-terminated string pointed to by theName
field.
-
NameString
@Nullable public java.lang.String NameString()
Decodes the null-terminated string pointed to by theName
field.
-
Value
public long Value()
Returns the value of theValue
field.
-
Present
public LLVMOpInfoSymbol1.Buffer Present(long value)
Sets the specified value to thePresent
field.
-
Name
public LLVMOpInfoSymbol1.Buffer Name(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theName
field.
-
Value
public LLVMOpInfoSymbol1.Buffer Value(long value)
Sets the specified value to theValue
field.
-
-