operator [] method

double operator [] (
  1. int index
)

The float at address + 4 * index.

A Dart double loses precision before being stored, and the float value is converted to a double when it is loaded.

The address must be 4-byte aligned.

Implementation

external double 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/FloatPointer/operator_get.html