ref property Null safety

T ref

Creates a reference to access the fields of this struct backed by native memory at address.

The address must be aligned according to the struct alignment rules of the platform.

This extension method must be invoked with a compile-time constant T.

Implementation

external T get ref;