A pointer to the root of a valid memory block or to null.
The minimum extension size in bytes.
The desired extension size in bytes.
TypeInfo to describe the full memory block. The GC might use this information to improve scanning for pointers or to call finalizers.
The size in bytes of the extended memory block referenced by p or zero if no extension occurred.
Note: Extend may also be used to extend slices (or memory blocks with APPENDABLE info). However, use the return value only as an indicator of success. capacity should be used to retrieve actual usable slice capacity.
Requests that the managed memory block referenced by p be extended in place by at least mx bytes, with a desired extension of sz bytes. If an extension of the required size is not possible or if p references memory not originally allocated by this garbage collector, no action will be taken.