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
I have an instance of dart:html's FileReader, and I call readAsArrayBuffer on it.
In Dartium (vm) the reader.result getter returns an instance of Uint8List. When I compile the code via dart2js and run in Chrome (32.0.1700.41) the reader.result getter returns an instance of ByteBuffer, and I need to wrap that myself in a new Uint8List.
thanks,
The text was updated successfully, but these errors were encountered:
This is a known bug in the VM.
The value of 'result' should be either a String, a ByteBuffer or null.
In the VM, Uint8List incorrectly implements ByteBuffer and is used in places where a ByteBuffer is required.
This issue was originally filed by [email protected]
1.0.3_r30939
Windows 7x64
I have an instance of dart:html's FileReader, and I call
readAsArrayBuffer
on it.In Dartium (vm) the reader.result getter returns an instance of Uint8List. When I compile the code via dart2js and run in Chrome (32.0.1700.41) the reader.result getter returns an instance of ByteBuffer, and I need to wrap that myself in a new Uint8List.
thanks,
The text was updated successfully, but these errors were encountered: