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

encodeInt16 method

void encodeInt16 (int value, int offset)

Implementation

void encodeInt16(int value, int offset) {
  _checkRange(value, -32768, 32767);
  data.setInt16(offset, value, Endian.little);
}