Buffer.reset

Resets the array positions, effectively soft-emptying the buffer.

The old elements' values are still there, they will just be overwritten as the buffer is appended to.

struct Buffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 128)
pure nothrow @nogc
void
reset
()

Meta