operator []= method

void operator []= (
  1. int index,
  2. int value
)

The 32-bit unsigned integer at address + 4 * index.

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

The address must be 4-byte aligned.

Implementation

external void operator []=(int index, 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/Uint32Pointer/operator_put.html