supposedly it stands for ascii to binary and the reverse (btoa) for binary to ascii, since base64 consists of only safe ascii characters and binary data is represented as strings in javascript or something like that.
Depending on how the string is encoded. Because in javascript, you can implicitly cast anything into anything, but changing a string into another kind of string is not allowed.
View all comments
Show parent comment
4
u/anamorphism Aug 27 '19
supposedly it stands for ascii to binary and the reverse (
btoa) for binary to ascii, since base64 consists of only safe ascii characters and binary data is represented as strings in javascript or something like that./shrug