StructPointer<T extends Struct> extension

Extension on Pointer specialized for the type argument Struct.

on

Properties

ref → T
read-only
Creates a reference to access the fields of this struct backed by native memory at address. [...]

Operators

operator [](int index) → T
Creates a reference to access the fields of this struct backed by native memory at address + sizeOf<T>() * 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/StructPointer.html