setInt16 method

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

Sets n as a Int16 at byteOffset.

Implementation

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