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.
| this |
a Memory |
| offset |
a new offset |
| size |
a new size |