operator []= method

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

The 32-bit two's complement integer at address + 4 * index.

A Dart integer is truncated to 32 bits (as if by .toSigned(32)) before being stored, and the 32-bit value is sign-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/Int32Pointer/operator_put.html