getUInt16 method
Returns the positive integer represented by the four bytes Increments the offset value by four The return value will be between 0 and 216 - 1, inclusive.
Implementation
int getUInt16([Endian endian = Endian.little]) {
final result = buffer.getUint16(offset, endian);
offset += 2;
return result;
}