Set the total size of the length memory blocks starting at idx in buffer
an index
a length
the offset adjustment
the new size or -1 to just adjust the offset
TRUE if resizing succeeded, FALSE otherwise.
Set the total size of the length memory blocks starting at idx in buffer