true if data was appended.
false if the ring buffer has insufficient free space (ring-buffer mode only; dynamic-array mode always succeeds).
bool append(scope const(ubyte)[] data) @trusted nothrowAppend 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.
data | Bytes to enqueue. Must not be empty. |
true if data was appended.
false if the ring buffer has insufficient free space (ring-buffer mode only; dynamic-array mode always succeeds).