Class IOURingZCRXAreaReg.Buffer

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

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

    • Buffer

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

    • addr

      public long addr()
      Returns:
      the value of the addr field.
    • len

      public long len()
      Returns:
      the value of the len field.
    • rq_area_token

      public long rq_area_token()
      Returns:
      the value of the rq_area_token field.
    • flags

      public int flags()
      Returns:
      the value of the flags field.
    • dmabuf_fd

      public int dmabuf_fd()
      Returns:
      the value of the dmabuf_fd field.
    • addr

      public IOURingZCRXAreaReg.Buffer addr(long value)
      Sets the specified value to the addr field.
    • len

      public IOURingZCRXAreaReg.Buffer len(long value)
      Sets the specified value to the len field.
    • rq_area_token

      public IOURingZCRXAreaReg.Buffer rq_area_token(long value)
      Sets the specified value to the rq_area_token field.
    • flags

      public IOURingZCRXAreaReg.Buffer flags(int value)
      Sets the specified value to the flags field.
    • dmabuf_fd

      public IOURingZCRXAreaReg.Buffer dmabuf_fd(int value)
      Sets the specified value to the dmabuf_fd field.