Closed tvolkert closed 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>.
File.openRead()
Stream<List<int>>
Stream<Uint8List>
This forwards-compatible change prepares for that SDK breaking change by casting the Stream to List<int> before transforming it.
List<int>
https://github.com/dart-lang/sdk/issues/36900
Closing this in favor of the unified https://github.com/angel-dart/framework/pull/237
An upcoming change to the Dart SDK will change the signature of
File.openRead()
from returningStream<List<int>>
to returningStream<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