setFloat64 method
Writes a double precision floating point value to 8-bytes.
The offset must satisy the relations 0 ≤ offset ≤ offset+8 ≤ this.length.
final Buffer buffer = Buffer(8);
buffer.setFloat64(3.14159265359, 0);
print(buffer); // [234, 46, 68, 84, 251, 33, 9, 64]
Implementation
void setFloat64(
final double value,
final int offset, [
final Endian endian = Endian.little,
]) {
return asByteData().setFloat64(offset, value, endian);
}