operator []= method

void operator []=(
  1. int index,
  2. int value
)

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

A Dart integer is truncated to 16 bits (as if by .toUnsigned(16)) before being stored, and the 16-bit value is zero-extended when it is loaded.

The address must be 2-byte aligned.

Implementation

external void operator []=(int index, int value);