setUint16 method

void setUint16(
  1. int n, [
  2. int byteOffset = 0
])

Sets n as a Uint16 at byteOffset.

Implementation

void setUint16(int n, [int byteOffset = 0]) =>
    asByteData().setUint16(byteOffset, n);