read method
Reads the whole content of this entry.
When range
is null, the whole content is returned. Out-of-range indexes are clamped to the
available length automatically.
Implementation
@override
Future<ByteData> read({IntRange? range}) async => ZipStream(archive, entry)
.readData(start: range?.start, length: range?.length)
.then((data) => data.toByteData());