encoding
encoding copied to clipboard
Static methods for TextEncoder and TextDecoder
trafficstars
NOTE: this PR is currently blocked on a technicality (https://github.com/tabatkins/bikeshed/issues/2270).
This PR adds support for static TextDecoder.decode, TextEncoder.encode and
TextEncoder.encodeInto methods. These do not add new functionality, rather
just acting as useful helpers for "one time" text encoding/decoding operations.
Closes #267.
- [ ] At least two implementers are interested (and none opposed):
- Deno
- …
- [ ] Tests are written and can be reviewed and commented upon at:
- …
- [ ] Implementation bugs are filed:
- Chrome: …
- Firefox: …
- Safari: …
- Deno: …
- Node.js: …
@lucacasonato ... are you still wanting to push this forward. I'm interested in implementing this for both workers and node.js