writeFloat64 method

void writeFloat64(
  1. double value, [
  2. Endian? endian
])

Writes the value as a 8 byte long floating point number at the current writerIndex (inclusive).

endian the endianness of the number, defaults to kEndianness which is initialized with Endian.big.


Exceptions:

Implementation

void writeFloat64(double value, [Endian? endian]) =>
    writeByteData(8).setFloat64(0, value, endian ?? kEndianness);