write method

  1. @override
void write(
  1. ByteData data,
  2. int offset,
  3. num value
)
override

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);