Buffer
resize() [Buffer class]
Sets the size of the buffer.
// PROTOTYPE
bool resize(size_t size)
If size is larger than the capacity of the buffer it will be reallocated and copied.
Returns true
except when increasing the size of the buffer and the memory allocation
fails. In this case, false
is return and the size is left unchanged.