eGust / epub-package.dart

A dart package to parse EPUB files
MIT License
28 stars 8 forks source link

Prepare for upcoming change to File.openRead() #4

Closed tvolkert closed 5 years ago

tvolkert commented 5 years ago

An upcoming change to the Dart SDK will change the signature of File.openRead() from returning Stream<List<int>> to returning Stream<Uint8List>.

This forwards-compatible change prepares for that SDK breaking change by casting the Stream to List<int> before transforming it.

https://github.com/dart-lang/sdk/issues/36900

tvolkert commented 5 years ago

ping @eGust

eGust commented 5 years ago

@tvolkert many thanks!