readFloat method

double readFloat({
  1. bool signed = false,
})
inherited

Reads a 4 byte float starting at readPosition.

Implementation

double readFloat({bool signed = false}) {
  final value = readByteData!.getFloat32(readPosition, _endianness);
  readPosition += 4;
  return value;
}