google / dart-gl

OpenGL ES 2.0 Dart Native Extension
BSD 3-Clause "New" or "Revised" License
91 stars 17 forks source link

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

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

@munificent PTAL