readUInt32 method

int readUInt32()

Implementation

int readUInt32() {
  ByteData? data = read(4);

  if (data == null) {
    throw 'no more data';
  }

  return data.getUint32(0, Endian.little);
}