Class mi_heap_area_t.Buffer

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

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

    • Buffer

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

    • blocks

      @NativeType("void *") public long blocks()
      Returns:
      the value of the blocks field.
    • reserved

      @NativeType("size_t") public long reserved()
      Returns:
      the value of the reserved field.
    • committed

      @NativeType("size_t") public long committed()
      Returns:
      the value of the committed field.
    • used

      @NativeType("size_t") public long used()
      Returns:
      the value of the used field.
    • block_size

      @NativeType("size_t") public long block_size()
      Returns:
      the value of the block_size field.
    • full_block_size

      @NativeType("size_t") public long full_block_size()
      Returns:
      the value of the full_block_size field.
    • blocks

      public mi_heap_area_t.Buffer blocks(@NativeType("void *") long value)
      Sets the specified value to the blocks field.
    • reserved

      public mi_heap_area_t.Buffer reserved(@NativeType("size_t") long value)
      Sets the specified value to the reserved field.
    • committed

      public mi_heap_area_t.Buffer committed(@NativeType("size_t") long value)
      Sets the specified value to the committed field.
    • used

      public mi_heap_area_t.Buffer used(@NativeType("size_t") long value)
      Sets the specified value to the used field.
    • block_size

      public mi_heap_area_t.Buffer block_size(@NativeType("size_t") long value)
      Sets the specified value to the block_size field.
    • full_block_size

      public mi_heap_area_t.Buffer full_block_size(@NativeType("size_t") long value)
      Sets the specified value to the full_block_size field.