pub(crate) fn bytes_to_base64(bytes: &[u8]) -> String
バイト列を base64 文字列へエンコードする共通処理(btoa/Uint8Array.prototype.toBase64 で共有)。
btoa
Uint8Array.prototype.toBase64