operator [] method

int operator [] (
  1. int index
)

The 8-bit unsigned integer at address + index.

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

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/Uint8Pointer/operator_get.html