packUint16 method

void packUint16(
  1. int v
)

Implementation

void packUint16(int v) {
  if (_buf.length - _offset < 5) _nextBuf();
  _dat.setUint16(_offset, v, Endian.little);
  _offset += 2;
}