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