Function RingBuffer.length

Returns the number of live elements.

size_t length() const nothrow @nogc @safe;

Returns

Current logical FIFO length.