write method
Writes a numeric value to the given ByteData starting at the specified offset
.
The value is written as a 64-bit floating-point number using big-endian byte order.
Implementation
@override
void write(ByteData data, int offset, num value) =>
data.setFloat64(offset, value.toDouble(), Endian.big);