readUint16 method

int readUint16()

Fetch a uint16 from the bytes list

Implementation

int readUint16() {
  final start = ip;
  ip += 2;
  return bytes.buffer.asByteData().getUint16(start);
}