Function RingBuffer.full

Reports whether no additional element can be inserted.

bool full() const nothrow @nogc @safe;

Returns

true when length == capacity. A zero-capacity buffer is both empty and full.