Uint16Pointer extension

Extension on Pointer specialized for the type argument Uint16.

on

Properties

value int

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

The 16-bit unsigned integer at address.
getter/setter pair

Methods

asTypedList(int length, {Pointer<NativeFinalizerFunction>? finalizer, Pointer<Void>? token}) Uint16List

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

Creates a typed list view backed by memory in the address space.
elementAt(int index) Pointer<Uint16>

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

Pointer arithmetic (takes element size into account).

Operators

operator +(int offset) Pointer<Uint16>

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

A pointer to the offsetth Uint16 after this one.
operator -(int offset) Pointer<Uint16>

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

A pointer to the offsetth Uint16 before this one.
operator [](int index) int

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

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

Available on Pointer<Uint16>, provided by the Uint16Pointer extension

The 16-bit unsigned integer at address + sizeOf<Uint16>() * index.