Whoa, as of 10 days ago we have functions to go between a Uint8Array and a Base64 Normal/URL Padded/Unpadded string in JavaScript without having to go via a String of β€œbytes” and manually juggle the padding in every major browser.

What a time to be alive.

1

If you have a fediverse account, you can quote this note from your own instance. Search https://akko.erincandescent.net/objects/baca31ec-e2b8-471f-be7b-c4889cc45997 on your instance and quote it. (Note that quoting is not supported in Mastodon.)