-
Have you thought about refactoring this to use the native `TextDecoder` in Node since v11? At least for the UTF-8 case.
* https://nodejs.org/api/util.html#util_class_util_textdecoder
* https://devel…
-
### Current behavior
When sending a request with FormData even if the server retrun `application/json` cypress keeps the response as ArrayBuffer
### Desired behavior
It should parse it and have bod…
-
I encountered a strange behavior in `syrup`, where fuzzing the codec with random strings did not round-trip the data. Starting with a string of random length where every character in that string was a…
-
### Feature Description
I need to convert between ArrayBuffer and String. I haven't found an efficient conversion method yet
I have to use encodeURI and decodeURI:
```
function str2buf (str) {
…
-
Currently in Remix [`web-std-io`](https://github.com/remix-run/web-std-io), they import [`web-encodings`](https://github.com/Gozala/web-encoding). This provides TextEncoder and TextDecoder functions. …
-
### Version
v18.14.1
### Platform
Linux 5.19.0-38-generic #39~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 17 21:16:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
### Subsystem
_No response_
…
-
Hi, I'm decoding forward payload data but I'm getting extra characters in the decoded string:
```javascript
const base64String = 'te6cckEBAQEAEQAAHgAAAABIZWxsbywgVE9OIb7WCx4=';
const decodedBas…
-
I am trying to use Rust to program my screeps, and I am using [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) for this (which is the standard way of combining Rust and JS).
However, this r…
Pauan updated
4 years ago
-
The large majority of users of `TextEncoder` and `TextDecoder` do not make use of streaming capabilities. Instead they just need to decode a single chunk, or encode a single chunk. We should consider …
-
As per http://updates.html5rocks.com/2014/08/Easier-ArrayBuffer---String-conversion-with-the-Encoding-API