fn mask(self: RingBuffer, index: usize) usize
Returns index modulo the length of the backing slice.
index
self: RingBuffer,
index: usize,