Fast Text Encoding Versions Save

Fast polyfill for TextEncoder and TextDecoder, only supports UTF-8

v1.0.3

3 years ago
  • Supports passing ArrayBuffer directly
  • Includes XHR fastpath for some browsers

v1.0.2

4 years ago
  • don't wrap Uint8Array if already provided (tiny speed boost)
  • includes sourcemap

v1.0.1

4 years ago
  • Supports very long strings in decoder
  • Supports null bytes in encoder
  • Ignore/drop encoding param for encoder, support other "UTF-8" string variants in decoder
  • Works on IE11 without polyfill