SharedArray<T extends NativeType> class
Reference counted Array. Not thread safe!
- Annotations
-
- @sealed
Constructors
-
Takes ownership of
arr
Properties
Methods
-
forceFree(
) → void -
Deletes the shared Array, even with
[counter] > 0
. Calling this method multiple times does nothing. -
free(
) → void -
Deletes
_array
when counter has reached0
. Calling this method multiple times does nothing. - Returns this and updates counter. Throws StateError when this has already been deleted or when counter overflows.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited