Skip to content

Uint64Array

extension Uint64Array on Array<Uint64>

Annotations: @Since.new('2.13')

Bounds checking indexing methods on Arrays of Uint64.

Properties

elements extension no setter

Uint64List get elements

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 Uint64Array extension

Implementation
dart
@Since('3.8')
external Uint64List get elements;

Operators

operator extension

int operator [](int index)

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 Uint64Array extension

Implementation
dart
external int operator [](int index);

operator []=() extension

void operator []=(int index, int value)

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 Uint64Array extension

Implementation
dart
external void operator []=(int index, int value);