value property

Pointer<T> value

The pointer at address.

A Pointer is unboxed before being stored (as if by .address), and the pointer is boxed (as if by Pointer.fromAddress) when loaded.

On 32-bit platforms the address must be 4-byte aligned, and on 64-bit platforms the address must be 8-byte aligned.

Implementation

external Pointer<T> get value;
void value= (Pointer<T> value)

Implementation

external void set value(Pointer<T> value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-ffi/PointerPointer/value.html