getMemory n
getMemory T
Allocate n bytes of memory using the GC garbage collector.
|
If the memory will not contain any pointers, then set the Atomic option to true.
|
Alternatively, a foreign object type T may be specified. In this case, the number of bytes and whether the Atomic option should be set will be determined automatically.
|
The object getMemory is a method function with options.