Appearance
PointerArray<T extends NativeType>
extension PointerArray<T extends NativeType> on Array<Pointer<T>>Annotations: @Since.new('2.13')
Bounds checking indexing methods on Arrays of Pointer.
Properties
elements extension no setter
A list view of the bytes of this array.
Has the same length and elements (as accessed using the index operator) as this array, and writes to either the list or this arrary are visible in both.
Available on Array<T extends NativeType>, provided by the PointerArray<T extends NativeType> extension
Implementation
dart
@Since('3.8')
external List<Pointer<T>> get elements;Operators
operator extension
Loads a Dart value from this array at index.
This extension method must be invoked on a receiver of type Array<T> where T is a compile-time constant type.
Available on Array<T extends NativeType>, provided by the PointerArray<T extends NativeType> extension
Implementation
dart
external Pointer<T> operator [](int index);operator []=() extension
Stores a Dart value in this array at index.
This extension method must be invoked on a receiver of type Array<T> where T is a compile-time constant type.
Available on Array<T extends NativeType>, provided by the PointerArray<T extends NativeType> extension
Implementation
dart
external void operator []=(int index, Pointer<T> value);