FloatPointer extension
Extension on Pointer specialized for the type argument Float.
Properties
Methods
-
asTypedList(
int length, {Pointer< NativeFinalizerFunction> ? finalizer, Pointer<Void> ? token}) → Float32List - Creates a typed list view backed by memory in the address space.
-
elementAt(
int index) → Pointer< Float> - Pointer arithmetic (takes element size into account).
Operators
-
operator +(
int offset) → Pointer< Float> -
A pointer to the
offset
th Float after this one. -
operator -(
int offset) → Pointer< Float> -
A pointer to the
offset
th Float before this one. -
operator [](
int index) → double -
The float at
address + sizeOf<Float>() * index
. -
operator []=(
int index, double value) → void -
The float at
address + sizeOf<Float>() * index
.