u16 method

int u16()

Implementation

int u16() {
  require(2);
  final int value = (bytes[_pos] << 8) | bytes[_pos + 1];
  _pos += 2;
  return value;
}