init(initialCapacity:)
Allocates a buffer that can hold up to initialCapacity
elements and initialise an empty ring backed by the buffer. When the ring grows to more than initialCapacity
elements the buffer will be expanded.
init(initialCapacity: Int)