Int16Pointer extension

Extension on Pointer specialized for the type argument Int16.

on

Properties

value int
The 16-bit two's complement integer at address.
getter/setter pair

Methods

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

Operators

operator +(int offset) Pointer<Int16>
A pointer to the offsetth Int16 after this one.
operator -(int offset) Pointer<Int16>
A pointer to the offsetth Int16 before this one.
operator [](int index) int
The 16-bit two's complement integer at address + sizeOf<Int16>() * index.
operator []=(int index, int value) → void
The 16-bit two's complement integer at address + sizeOf<Int16>() * index.