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