global property

Memory? global
read / write

The default Memory object to use.

This field is null until it is either manually set to a Memory object, or automatically set by DynamicLibrary.fromModule.

This is most notably used when creating a pointer using Pointer.fromAddress with no explicite memory to bind to given.

Implementation

static Memory? global;