read16 method

int read16()

Read U16 value from the buffer and shift cursor by 2.

Implementation

int read16() {
  final value = _dataView.getUint16(_bytePosition, Endian.little);
  shift(2);
  return value;
}