readFloat32 method

double readFloat32()

Reads a double 32 bits.

Implementation

double readFloat32() {
  var bs = readBytes(4);
  var byteData = ByteData.sublistView(bs);
  return byteData.getFloat32(0);
}