Buffer.resizeRange

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

class Buffer
int
resizeRange

Parameters

idx uint

an index

length int

a length

offset gssize

the offset adjustement

size gssize

the new size or -1 to just adjust the offset

Return Value

Type: int

TRUE if resizing succeeded, FALSE otherwise.

Meta