arraybuffer-to-string icon indicating copy to clipboard operation
arraybuffer-to-string copied to clipboard

refactor: use native Node v11+ TextEncoder

Open AndersDJohnson opened this issue 5 years ago • 0 comments

Have you thought about refactoring this to use the native TextEncoder in Node since v11?

  • https://nodejs.org/api/util.html#util_class_util_textencoder
  • https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#See_also

Relates to https://github.com/dy/string-to-arraybuffer/issues/1.

AndersDJohnson avatar Jun 26 '20 22:06 AndersDJohnson