SendQueue.append

bool append(scope const(ubyte)[] data) @trusted nothrow

Append data to the send queue.

Data is copied into the queue (Copy semantics per TERMINOLOGY.md). The caller may reuse or free the source buffer immediately.

Parameters

dataBytes to enqueue. Must not be empty.

Returns

true if data was appended.

false if the ring buffer has insufficient free space (ring-buffer mode only; dynamic-array mode always succeeds).