Returns the length of the input data in the specified units. The data unit depends on the reader implementation and how the data is encoded.
@override int get length => reader.length - _markerSize;