getUint16 method

int getUint16([
  1. int byteOffset = 0,
  2. Endian endian = Endian.big
])

Returns a Uint16 at byteOffset of this bytes buffer (reads 2 bytes).

Implementation

int getUint16([int byteOffset = 0, Endian endian = Endian.big]) =>
    asByteData().getUint16(byteOffset, endian);