Skip to main content

bytes_to_base64

Function bytes_to_base64 

Source
pub(crate) fn bytes_to_base64(bytes: &[u8]) -> String
Expand description

バイト列を base64 文字列へエンコードする共通処理(btoa/Uint8Array.prototype.toBase64 で共有)。