Skip to main content

base64_to_bytes

Function base64_to_bytes 

Source
pub(crate) fn base64_to_bytes(s: &str) -> Vec<u8>
Expand description

base64 文字列をバイト列へデコードする共通処理(atob/Uint8Array.fromBase64 で共有)。 未知の文字(改行等)は無視する簡略実装。