read abstract 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
T read(ByteData data, int offset);