readUInt16 method Null safety

int readUInt16()

Reads a uint16 from the backing buffer

Implementation

int readUInt16() {
  final res = _data.getUint16(_offset);
  _offset += uint16Size;
  return res;
}