FastestSmallestTextEncoderDecoder
FastestSmallestTextEncoderDecoder copied to clipboard
The fastest smallest Javascript polyfill for encodeInto of TextEncoder, encode of TextEncoder, and decode of TextDecoder for UTF-8 only.
Been using this on react-native, but as of 0.74.0, the underlying hermes engine now includes TextEncoder, but doesn't have TextDecoder. Since the polyfill only checks if TextEncoder exists or not...
I'm working on an Android app with react native/android studio/@azure service-bus. After this issue with @azure service-bus https://github.com/Azure/azure-sdk-for-js/issues/30342 , I installed fastestsmallesttextencoderdecoder: I created globals.js: ``` global.TextEncoder = require('fastestsmallesttextencoderdecoder').TextEncoder; global.TextDecoder...