ScopedBuffer.reset

Resets the ScopedBuffer to its initial state, clearing any data and reusing the internal buffer.

struct ScopedBuffer(T, size_t bytes = 4096)
@trusted scope nothrow
void
reset
()
if (
bytes &&
T.sizeof <= bytes
)