Google is committed to advancing racial equity for Black communities. See how.

encodeUint16 method

void encodeUint16 (int value, int offset)

Implementation

void encodeUint16(int value, int offset) {
  _checkRange(value, 0, 65535);
  data.setUint16(offset, value, Endian.little);
}