resize_range


Description:

public bool resize_range (uint idx, int length, ssize_t offset, ssize_t size)

Sets the total size of the length memory blocks starting at idx in this

Parameters:

this

a Buffer.

idx

an index

length

a length

offset

the offset adjustment

size

the new size or -1 to just adjust the offset

Returns:

true if resizing succeeded, false otherwise.