Function RingBuffer.read
Moves elements from the front of the ring buffer into a supplied buffer.
void read
(
scope T[] dst
);
The first dst
elements will be moved from the ring buffer into
dst
. dst
must not be larger than the number of elements contained
in the ring buffer.