rotemdan / lzutf8.js

A high-performance Javascript string compression library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for TextEncoder and TextDecoder to speed up UTF-8 conversion in the browser

rotemdan opened this issue · comments

Should make use the TextEncoder and TextDecoder methods (if available) to speed up UTF-8 conversion in the browser.

TextEncoder:
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder

TextDecoder:
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder