RingBuffer.clear
void clear() @safe nothrow @nogcReset the buffer to empty without releasing storage.
The ring buffer retains its capacity and backing memory; only the read/write positions and used count are reset.
void clear() @safe nothrow @nogcReset the buffer to empty without releasing storage.
The ring buffer retains its capacity and backing memory; only the read/write positions and used count are reset.