News for hackers. Stuff that matters.
Re:Blink-dev – Intent to Ship: SharedArrayBuffer by ygra on Friday April 07, 2017 @02:58AM (#14057708)
atob/btoa is atrocious from an API design standpoint. Here we are, designing an API to convert things to Base64 and back and we use a string as a byte array substitute, nevermind the fact that strings are not limited to Latin-1. There's probably a bunch of libraries that solve this, but stumbling over this in a library that has no outside dependencies is a bit annoying since you have to solve it yourself ... again.

There are no comments on this comment yet.