📜  编码 base64 rust 代码示例

📅  最后修改于: 2022-03-11 14:49:25.890000             🧑  作者: Mango

代码示例1
extern crate base64;

fn main() {
    let b64 = base64::encode(b"hello world");
    println!("{}", b64);
}