getUint16 method
Reads the next 2 bytes at index
(inclusive) and returns the value.
endian
defaults to Endian.big.
Implementation
int getUint16(int index, [Endian? endian]) =>
getByteData(index, 2).getUint16(0, endian ?? kEndianness);
Reads the next 2 bytes at index
(inclusive) and returns the value.
endian
defaults to Endian.big.
int getUint16(int index, [Endian? endian]) =>
getByteData(index, 2).getUint16(0, endian ?? kEndianness);