DataStream::resize

Resize the unread region to n elements, filling new ones with c.

Synopsis

Declared in <streams.h>

void
resize(
    size_type n,
    value_type c = value_type{});

Parameters

NameDescription
nNew number of unread elements.
cValue used to fill any newly added elements.