An ES-spec-compliant shim/polyfill/replacement for ArrayBuffer base64 methods that works as far down as ES3