DoublePointer extension - dart:ffi library (original) (raw)
Extension on Pointer specialized for the type argument Double.
on
Properties
Available on Pointer<Double>, provided by the DoublePointer extension
The double at address.
getter/setter pair
Methods
asTypedList(int length, {Pointer<NativeFinalizerFunction>? finalizer, Pointer<Void>? token})→ Float64List
Available on Pointer<Double>, provided by the DoublePointer extension
Creates a typed list view backed by memory in the address space.
elementAt(int index)→ Pointer<Double>
Available on Pointer<Double>, provided by the DoublePointer extension
Pointer arithmetic (takes element size into account).
Operators
operator +(int offset)→ Pointer<Double>
Available on Pointer<Double>, provided by the DoublePointer extension
A pointer to the offset
th Double after this one.
operator -(int offset)→ Pointer<Double>
Available on Pointer<Double>, provided by the DoublePointer extension
A pointer to the offset
th Double before this one.
operator [](int index)→ double
Available on Pointer<Double>, provided by the DoublePointer extension
The double at address + sizeOf<Double>() * index
.
operator []=(int index, double value)→ void
Available on Pointer<Double>, provided by the DoublePointer extension
The double at address + sizeOf<Double>() * index
.