Writes a four-byte float using the current endian format.
void writeFloat(double v) { final d = ByteData(4)..setFloat32(0, v, endian); _dest.add(d.buffer.asUint8List(d.offsetInBytes, 4)); }