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
As a follow up to #119, I discovered that the Readable stream's data is not always a Uint8Array, but is sometimes a SharedArrayBuffer. I believe this occurs when running an extension in the browser.
This is a problem because you can't TextDecoder#decode a SharedArrayBuffer, so my shims needed to copy the contents into a new Uint8Array before passing them onward.
The text was updated successfully, but these errors were encountered:
As a follow up to #119, I discovered that the
Readable
stream's data is not always aUint8Array
, but is sometimes aSharedArrayBuffer
. I believe this occurs when running an extension in the browser.This is a problem because you can't
TextDecoder#decode
aSharedArrayBuffer
, so my shims needed to copy the contents into a newUint8Array
before passing them onward.The text was updated successfully, but these errors were encountered: