fn init(allocator: Allocator, capacity: usize) Allocator.Error!RingBuffer
Allocate a new RingBuffer; deinit() should be called to free the buffer.
RingBuffer
deinit()
allocator: Allocator,
capacity: usize,