previewUint16 method

int previewUint16(
  1. int index,
  2. [Endian endian = Endian.big]
)

Previews a future uint16 without advancing in the byte list.

Implementation

int previewUint16(int index, [Endian endian = Endian.big]) {
  return _byteData.getUint16(this.index + index, endian);
}