random access operator
append operator
current amount of elements used in the buffer
t { StaticRingBuffer!(2, int) foo; assert(foo.length == 0); foo ~= 1; assert(foo.length == 1); assert(foo[0] == 1); foo ~= 2; assert(foo.length == 2); assert(foo[0] == 1); assert(foo[1] == 2); foo ~= 3; assert(foo.length == 2); assert(foo[0] == 2); assert(foo[1] == 3
@nogc @safe ringbuffer using static memory block