putUint16 method

void putUint16 (int value)

Write a Uint16 into the buffer.

Implementation

void putUint16(int value) {
  _eightBytes.setUint16(0, value, Endian.host);
  _buffer.addAll(_eightBytesAsList, 0, 2);
}