ArrayView<T extends NativeType> class

ArrayView is a non-owning view into allocated memory, meaning delete doesn't do anything.

Inheritance

Constructors

ArrayView(int length, [Pointer<T> allocate({int count})])
ArrayView.fromPtr(Pointer<T> ptr, int length)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
length → dynamic
final, inherited
ptr Pointer<T>
@doNotStore, final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete() → void
Frees ptr with ffi.free.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic arr) bool
The equality operator. [...]
inherited