Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:ffi
  3. Array<T extendsNativeType> class
Array
description

Array<T extends NativeType> classfinal

A fixed-sized array ofTs.

Implemented types
Available extensions
Annotations
  • @Since.new('2.13')

Constructors

Array(intdimension1, [intdimension2,intdimension3,intdimension4,intdimension5])
Annotation to specifyArray dimensions inStructs.
const
factory
Array.multi(List<int>dimensions)
Annotation to specifyArray dimensions inStructs.
const
factory
Array.variable([intdimension2,intdimension3,intdimension4,intdimension5])
Annotation to specify a variable lengthArray inStructs.
const
factory
Array.variableMulti(List<int>dimensions, {@Since.new('3.7')intvariableDimension})
Annotation to a variable lengthArray inStructs.
const
factory
Array.variableWithVariableDimension([intdimension1,intdimension2,intdimension3,intdimension4,intdimension5])
Annotation to specify a variable lengthArray with a configurablevariable dimension (dimension1) inStructs.
const
factory

Properties

addressPointer<T>

Available onArray<T>, provided by theArrayAddress extension

The memory address of the underlying data.
no setter
elementsList<int>

Available onArray<T>, provided by theAbiSpecificIntegerArray extension

A list view of the bytes of this array.
no setter
elementsList<Array<T>>

Available onArray<Array<T>>, provided by theArrayArray extension

A list view of the bytes of this array.
no setter
elementsList<bool>

Available onArray<Bool>, provided by theBoolArray extension

A list view of the bytes of this array.
no setter
elementsFloat64List

Available onArray<Double>, provided by theDoubleArray extension

A list view of the bytes of this array.
no setter
elementsFloat32List

Available onArray<Float>, provided by theFloatArray extension

A list view of the bytes of this array.
no setter
elementsInt8List

Available onArray<Int8>, provided by theInt8Array extension

A list view of the bytes of this array.
no setter
elementsInt16List

Available onArray<Int16>, provided by theInt16Array extension

A list view of the bytes of this array.
no setter
elementsInt32List

Available onArray<Int32>, provided by theInt32Array extension

A list view of the bytes of this array.
no setter
elementsInt64List

Available onArray<Int64>, provided by theInt64Array extension

A list view of the bytes of this array.
no setter
elementsList<Pointer<T>>

Available onArray<Pointer<T>>, provided by thePointerArray extension

A list view of the bytes of this array.
no setter
elementsList<T>

Available onArray<T>, provided by theStructArray extension

A list view of the bytes of this array.
no setter
elementsUint8List

Available onArray<Uint8>, provided by theUint8Array extension

A list view of the bytes of this array.
no setter
elementsUint16List

Available onArray<Uint16>, provided by theUint16Array extension

A list view of the bytes of this array.
no setter
elementsUint32List

Available onArray<Uint32>, provided by theUint32Array extension

A list view of the bytes of this array.
no setter
elementsUint64List

Available onArray<Uint64>, provided by theUint64Array extension

A list view of the bytes of this array.
no setter
elementsList<T>

Available onArray<T>, provided by theUnionArray extension

A list view of the bytes of this array.
no setter
hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited
operator [](intindex)int

Available onArray<T>, provided by theAbiSpecificIntegerArray extension

Loads a Dart value from this array atindex.
operator [](intindex)Array<T>

Available onArray<Array<T>>, provided by theArrayArray extension

operator [](intindex)bool

Available onArray<Bool>, provided by theBoolArray extension

Loads a Dart value from this array atindex.
operator [](intindex)double

Available onArray<Double>, provided by theDoubleArray extension

Loads a Dart value from this array atindex.
operator [](intindex)double

Available onArray<Float>, provided by theFloatArray extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Int8>, provided by theInt8Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Int16>, provided by theInt16Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Int32>, provided by theInt32Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Int64>, provided by theInt64Array extension

Loads a Dart value from this array atindex.
operator [](intindex)Pointer<T>

Available onArray<Pointer<T>>, provided by thePointerArray extension

Loads a Dart value from this array atindex.
operator [](intindex)→ T

Available onArray<T>, provided by theStructArray extension

This extension method must be invoked on a receiver of typePointer<T>whereT is a compile-time constant type.
operator [](intindex)int

Available onArray<Uint8>, provided by theUint8Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Uint16>, provided by theUint16Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Uint32>, provided by theUint32Array extension

Loads a Dart value from this array atindex.
operator [](intindex)int

Available onArray<Uint64>, provided by theUint64Array extension

Loads a Dart value from this array atindex.
operator [](intindex)→ T

Available onArray<T>, provided by theUnionArray extension

This extension method must be invoked on a receiver of typePointer<T>whereT is a compile-time constant type.
operator []=(intindex,intvalue)→ void

Available onArray<T>, provided by theAbiSpecificIntegerArray extension

Stores a Dart value in this array atindex.
operator []=(intindex,Array<T>value)→ void

Available onArray<Array<T>>, provided by theArrayArray extension

operator []=(intindex,boolvalue)→ void

Available onArray<Bool>, provided by theBoolArray extension

Stores a Dart value in this array atindex.
operator []=(intindex,doublevalue)→ void

Available onArray<Double>, provided by theDoubleArray extension

Stores a Dart value in this array atindex.
operator []=(intindex,doublevalue)→ void

Available onArray<Float>, provided by theFloatArray extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Int8>, provided by theInt8Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Int16>, provided by theInt16Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Int32>, provided by theInt32Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Int64>, provided by theInt64Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,Pointer<T>value)→ void

Available onArray<Pointer<T>>, provided by thePointerArray extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Uint8>, provided by theUint8Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Uint16>, provided by theUint16Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Uint32>, provided by theUint32Array extension

Stores a Dart value in this array atindex.
operator []=(intindex,intvalue)→ void

Available onArray<Uint64>, provided by theUint64Array extension

Stores a Dart value in this array atindex.
  1. Dart
  2. dart:ffi
  3. Array<T extendsNativeType> class
dart:ffi library

[8]ページ先頭

©2009-2025 Movatter.jp