RingBuffer.consume

void consume(size_t n) @safe nothrow @nogc

Advance the read position past n consumed bytes.

Parameters

nNumber of bytes to consume. Must be <= length().