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 ofLLVMOpInfoSymbol1structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBufferName()LLVMOpInfoSymbol1.BufferName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theLLVMOpInfoSymbol1.Name()field.java.lang.StringNameString()longPresent()LLVMOpInfoSymbol1.BufferPresent(long value)Sets the specified value to theLLVMOpInfoSymbol1.Present()field.longValue()LLVMOpInfoSymbol1.BufferValue(long value)Sets the specified value to theLLVMOpInfoSymbol1.Value()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newLLVMOpInfoSymbol1.Bufferinstance 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 the
LLVMOpInfoSymbol1.Present()field.
-
Name
@Nullable public java.nio.ByteBuffer Name()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theLLVMOpInfoSymbol1.Name()field.
-
NameString
@Nullable public java.lang.String NameString()
- Returns:
- the null-terminated string pointed to by the
LLVMOpInfoSymbol1.Name()field.
-
Value
public long Value()
- Returns:
- the value of the
LLVMOpInfoSymbol1.Value()field.
-
Present
public LLVMOpInfoSymbol1.Buffer Present(long value)
Sets the specified value to theLLVMOpInfoSymbol1.Present()field.
-
Name
public LLVMOpInfoSymbol1.Buffer Name(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theLLVMOpInfoSymbol1.Name()field.
-
Value
public LLVMOpInfoSymbol1.Buffer Value(long value)
Sets the specified value to theLLVMOpInfoSymbol1.Value()field.
-
-