Class IOURingRecvmsgOut.Buffer

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

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

    • Buffer

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

    • namelen

      public int namelen()
      Returns:
      the value of the namelen field.
    • controllen

      public int controllen()
      Returns:
      the value of the controllen field.
    • payloadlen

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

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

      public IOURingRecvmsgOut.Buffer namelen(int value)
      Sets the specified value to the namelen field.
    • controllen

      public IOURingRecvmsgOut.Buffer controllen(int value)
      Sets the specified value to the controllen field.
    • payloadlen

      public IOURingRecvmsgOut.Buffer payloadlen(int value)
      Sets the specified value to the payloadlen field.
    • flags

      public IOURingRecvmsgOut.Buffer flags(int value)
      Sets the specified value to the flags field.