writeUint16 method

void writeUint16(
  1. int value
)

Implementation

void writeUint16(int value) {
  _ensureAvailable(2);
  _byteData.setUint16(_writeIndex, value, endian);
  _writeIndex += 2;
}