const(ubyte)[] slice of contiguous front data, or null when
the queue is empty.
const(ubyte)[] front() const @trusted nothrow @nogcGet a contiguous view of the front of the queue for writing to a socket or pipe.
When the queue wraps around (ring-buffer mode), only the tail-to-end segment is returned. Call front() again after consume()-ing that segment to get the wrapped remainder.
The returned slice is Borrowed (TERMINOLOGY.md): valid only until the next append() or consume() call.
const(ubyte)[] slice of contiguous front data, or null when
the queue is empty.