const(ubyte)[] slice of the contiguous front data, or null
if the buffer is empty.
const(ubyte)[] front() const @trusted nothrow @nogcGet a contiguous view of the front (readable) portion of the buffer.
When data wraps around the end of storage, this returns only the tail-to-end segment. The caller should 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 the contiguous front data, or null
if the buffer is empty.