Set the offset and total size of the memory blocks in buffer.
the offset adjustment
the new size or -1 to just adjust the offset
Set the offset and total size of the memory blocks in buffer.