-
TextEncoder and TextDecoder are added as globals in node11.
Maybe it is possible to use these for jsdom?
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder
https://developer.mozilla.org…
-
I have some pretty large buffers (~45MB) I'm decoding, and they can create a large "GC pressure"
With TextDecoder
start: 42ms
With buffer.toString()
start: 838.85302734375ms
I know there …
-
## 🐛 Bug description
React Native does not have the NodeJs "util" module, thus can't get to the TextDecoder class.
Whenever the main js file is loaded, Metro server stops because it does not have th…
-
Hi!
Has anyone encountered an error on run this project?
`Attempted import error: 'TextDecoder' is not exported from '@polkadot/x-textdecoder'`
As far as I understand it's [a matter of depend…
-
I am connecting AiChat to AI agent via LangServe with:
```
const chatAdapter = useAsStreamAdapter(streamText);
```
and default streamText code:
```
import {StreamingAdapterObserver} from…
-
Hello,
I have been working on Bruno couple of weeks now and I really like it.
Currently I'm facing a problem for importing a specific external library 'cose-js'. I managed to import and use othe…
-
Hey! I'm trying to use this lib in a v8 isolate context - in this context, node libraries aren't available by default.
Looks like this lib uses `buffer` and `https`, which both have comparable APIs…
-
Working with UTF-8 in JavaScript requires a lot of code and is very error prone. The [TextEncoder](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder) and [TextDecoder](https://developer.moz…
-
Hi, I'm decoding forward payload data but I'm getting extra characters in the decoded string:
```javascript
const base64String = 'te6cckEBAQEAEQAAHgAAAABIZWxsbywgVE9OIb7WCx4=';
const decodedBas…
-
To work with Strings encoded in binary streams, the [TextEncoder](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder) and [TextDecoder](https://developer.mozilla.org/en-US/docs/Web/API/Tex…