extractStream method

Future<Stream<List<int>>?> extractStream(
  1. String filename, {
  2. IntRange? range,
})

Implementation

Future<Stream<List<int>>?> extractStream(String filename,
    {IntRange? range}) async {
  final zip = entries[filename];
  return zip == null
      ? null
      : extract(file,
          entryStart: zip.offsetEnd,
          entryEnd: zip.offsetEnd + zip.compressedSize,
          compressionMethod: zip.compressionMethod,
          range: range);
}