Class LLVMJITSymbolFlags.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<LLVMJITSymbolFlags>, NativeResource, Pointer
Enclosing class:
LLVMJITSymbolFlags

public static class LLVMJITSymbolFlags.Buffer extends StructBuffer<LLVMJITSymbolFlags,LLVMJITSymbolFlags.Buffer> implements NativeResource
An array of LLVMJITSymbolFlags structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new LLVMJITSymbolFlags.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 by LLVMJITSymbolFlags.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 Details

    • GenericFlags

      public byte GenericFlags()
      Returns:
      the value of the GenericFlags field.
    • TargetFlags

      public byte TargetFlags()
      Returns:
      the value of the TargetFlags field.
    • GenericFlags

      public LLVMJITSymbolFlags.Buffer GenericFlags(byte value)
      Sets the specified value to the GenericFlags field.
    • TargetFlags

      public LLVMJITSymbolFlags.Buffer TargetFlags(byte value)
      Sets the specified value to the TargetFlags field.