Sets n as a Uint16 at byteOffset.
n
Uint16
byteOffset
void setUint16(int n, [int byteOffset = 0]) => asByteData().setUint16(byteOffset, n);