isoos / http_client

https://pub.dartlang.org/packages/http_client
BSD 3-Clause "New" or "Revised" License
13 stars 6 forks source link

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

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

isoos commented 5 years ago

Thanks!