read abstract method

T read(
  1. ByteData data,
  2. int offset
)

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