Buffer.resize

Set the offset and total size of the memory blocks in buffer.

class Buffer
void
resize
(
ptrdiff_t offset
,
ptrdiff_t size
)

Parameters

offset ptrdiff_t

the offset adjustment

size ptrdiff_t

the new size or -1 to just adjust the offset