UringBufRing class final

A registered provided-buffer ring (IORING_REGISTER_PBUF_RING).

The first 16 bytes are shared by the ring tail (at offset 14) and the first buffer entry; add writes entries and publishes the tail.

Constructors

UringBufRing({required Pointer<Uint8> pointer, required int entries, required int bufferGroup, required MemoryBarrier barrier})

Properties

barrier → MemoryBarrier
final
bufferGroup → int
final
entries → int
final
hashCode → int
The hash code for this object.
no setterinherited
mask → int
no setter
pointer → Pointer<Uint8>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tail → int
no setter

Methods

add({required Pointer<Uint8> buffer, required int length, required int bufferId}) → void
Adds one buffer and publishes it to the kernel.
dispose() → void
Unmaps the ring memory. The caller must unregister the ring first.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited