value property

int value

The 16-bit unsigned integer at address.

A Dart integer is truncated to 16 bits (as if by .toUnsigned(16)) before being stored, and the 16-bit value is zero-extended when it is loaded.

The address must be 2-byte aligned.

Implementation

external int get value;
void value= (int value)

Implementation

external void set value(int 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/Uint16Pointer/value.html