Uint16Pointer extension

Extension on Pointer specialized for the type argument Uint16.

on

Properties

value int
The 16-bit unsigned integer at address.
read / write

Methods

asTypedList(int length, {Pointer<NativeFinalizerFunction>? finalizer, Pointer<Void>? token}) Uint16List
Creates a typed list view backed by memory in the address space.
elementAt(int index) Pointer<Uint16>
Pointer arithmetic (takes element size into account).

Operators

operator [](int index) int
The 16-bit unsigned integer at address + 2 * index.
operator []=(int index, int value) → void
The 16-bit unsigned integer at address + 2 * index.