You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
The `readAsBytes` method returns twice as much data as expected,
with the first half all zeroes. This comes from pre-allocating
the buffer, then appending to it (similar to issue 21, but with
`readAsBytes` instead of `readAsString`).
Updated the tests to also catch this case.
BUG: dart-archive#23
The `readAsBytes` method returns twice as much data as expected,
with the first half all zeroes. This comes from pre-allocating
the buffer, then appending to it (similar to issue 21, but with
`readAsBytes` instead of `readAsString`).
Updated the tests to also catch this case.
BUG: #23
When fetching a resource over http, twice the number of expected bytes are returned, with the first half being all zeroes.
I believe the solution would be to make https://github.com/dart-lang/resource/blob/master/lib/src/io_io.dart#L46
look like https://github.com/dart-lang/resource/blob/master/lib/src/io_io.dart#L80
The text was updated successfully, but these errors were encountered: