writeFloat method

void writeFloat(
  1. double value
)
inherited

Write a single 4 byte single precision floating point number.

Implementation

void writeFloat(double value) {
  flush(4);
  writeByteData.setFloat32(writePosition, value, _endianness);
  writePosition += 4;
}