Array<T extends NativeType> class
Thin wrapper around a Pointer
and its associated typed list.
For a more type safe and convenient method to construct Array have
a look at the extensions like Uint8Array.
- Implementers
- Available Extensions
- Annotations
- @sealed
Constructors
-
Array(int length,
List< int> getView(Pointer<T> ptr,int length ) ) -
getView
returns the associated typed list of thePointer
pointing to the array. -
Array.fromList(List<
int> list,List< int> getView(Pointer<T> ptr,int length ) ) -
Array.fromPtr(Pointer<
T> ptr,List< int> _view) -
_view
is the associated typed list ofptr
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, override
-
ptr
→ Pointer<
T> -
@doNotStore, final
-
untypedView
→ List<
int> -
@doNotStore, read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
delete(
) → void -
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic arr ) → bool -
The equality operator. [...]
override