Function RingBuffer.peek
Returns a slice of the first elements in the buffer.
inout inout(T)[] peek();
Note that not all elements will generally be part of the returned slice, because inserting elements will wrap around to the start of the internal buffer once the end is reached.