Buffer.resizeRange

Set the total size of the length memory blocks starting at idx in buffer

class Buffer
bool
resizeRange
(
uint idx
,
int length
,
ptrdiff_t offset
,
ptrdiff_t size
)

Parameters

idx uint

an index

length int

a length

offset ptrdiff_t

the offset adjustment

size ptrdiff_t

the new size or -1 to just adjust the offset

Return Value

Type: bool

TRUE if resizing succeeded, FALSE otherwise.