operator [] method

int operator [] (
  1. int index
)

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 int operator [](int index);

© 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_get.html