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
Furthermore, you may not share instances of the encoder between streams since this is a stateful object. If you share instances then multiple concurrent streams will impact each other.
Describe the bug
meros does not correctly decode utf-8 encoded data which is yielded in a different chunk.
You need to pass
{ stream: true }
toTextDecoder#decode
:https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode#options
Furthermore, you may not share instances of the encoder between streams since this is a stateful object. If you share instances then multiple concurrent streams will impact each other.
To reproduce
Output:
Expected behavior
It should decode correctly.
The text was updated successfully, but these errors were encountered: