UnionArray<T extends Union>#
Annotations: @Since.new('2.14')
Bounds checking indexing methods on Arrays of Union.
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.
Available on Array<T extends NativeType>, provided by the UnionArray<T extends Union> extension
Implementation
@Since('3.8')
external List<T> get elements;
Operators#
operator []() extension#
This extension method must be invoked on a receiver of type Pointer<T>
where T is a compile-time constant type.
Available on Array<T extends NativeType>, provided by the UnionArray<T extends Union> extension
Implementation
external T operator [](int index);