read method
Reads an element of type T
from the given ByteData starting at
the specified offset
.
This method must be implemented by subclasses to define how an element is read from binary data.
Implementation
@override
double read(ByteData data, int offset) => data.getFloat64(offset, Endian.big);