Function RingBuffer.putN
Adds elements to the back of the buffer without overwriting the buffer.
void putN
(
size_t n
);
This method is used in conjunction with peekDst
for more efficient
writing of multiple elements. peekDst
is used to obtain a memory
slice that can be directly written to, followed by calling popFrontN
with the number of elements that were written to the slice.