4 ms·
I wonder why you would introduce an extra dependency for the base64 example. It seems more trivial than left pad. https://github.com/sindresorhus/uint8array-ex
by shiomiru 3y ago
I wonder why you would introduce an extra dependency for the base64 example. It seems more trivial than left pad.
https://github.com/sindresorhus/uint8array-extras/blob/cbf24e6e3c1884655452612b2cc5f266915a8df5/index.js#L107 https://github.com/sindresorhus/uint8array-extras/blob/cbf24...
- betenoire 3y ago> // Required as `btoa` and `atob` don't properly support Unicode: https://developer.mozilla.org/en-US/docs/Glossary/Base64#the_unicode_problem https://developer.mozilla.org/en-US/docs/Glossary/Base64#the...