Should this be a web platform API, or a language builtin specified by TC39? See https://github.com/bakkot/proposal-arraybuffer-base64/issues/4