Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

encode base64 rust

extern crate base64;

fn main() {
    let b64 = base64::encode(b"hello world");
    println!("{}", b64);
}
Source by docs.rs #
 
PREVIOUS NEXT
Tagged: #encode #rust
ADD COMMENT
Topic
Name
6+1 =