getUint16 method

int getUint16 ()

Reads a Uint16 from the buffer.

Implementation

int getUint16() {
  final int value = data.getUint16(_position, Endian.host);
  _position += 2;
  return value;
}