您正在寻找的是 base64 crate ,尤其是它的 encode() 功能。用法是pretty straightforward : extern crate base64; fn main() { let data: Vec<u8> = vec![1,2,3,4,5]; ...
確定! 回上一頁