resize


Description:

public void resize (ssize_t offset, size_t size)

Resize the memory region.

this should be writable and offset + size should be less than the maxsize of this .

ZERO_PREFIXED and ZERO_PADDED will be cleared when offset or padding is increased respectively.

Parameters:

this

a Memory

offset

a new offset

size

a new size