RingBuffer.initialize
void initialize(size_t capacity) @trusted nothrowAllocate backing storage for the ring buffer.
Must be called once before any other method. Calling it again on an already-initialized buffer leaks the previous storage.
Parameters
capacity | Number of bytes to pre-allocate. Must be > 0. |