Fast base64 encoding and decoding
I hate base64. If you have to embed binary data within human-readable text, then you’re eitherA: doing something horribly wrongB: or forced to use a monkey-patched legacy standardOtherwise just use hexadecimal digits. At least it will be somewhat readable.I know, I know... Base64 encodes 3 bytes on 4 characters, while hex encodes 2 bytes on 4. Big fucking deal. It will almost surely be gzipped down the line, and if you’re storing amounts of data where this would count, then see point “A” above.I hope one day we will laugh at the mere idea of base64 encoding like how we do with EBCDIC or Windows-12XX codepages.