base64_lib
pub fn encode(bytes: &Vec<u8>) -> String
Returns a base64 encoded string.
bytes
let input_vector: Vec<u8> = String::from("Hello World").into_bytes(); let result_string: String = base64_lib::encode(&input_vector);