CircularBuffer.resize

Resizes the internal buffer to a specified size.

struct CircularBuffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
pure @safe nothrow
static if(dynamic)
void
resize
(
const size_t size
)
if (
originalSize > 1
)

Parameters

size size_t

New size.