base64-lib 0.1.1

A base64 encoder / decoder
Documentation

A basic base64 encoder / decoder for Rust.

Usage:

Encode:

encode(&Vec) -> String

let input_vector: Vec<u8> = String::from("Hello World").into_bytes();
let result_string: String = encode(&input_vector);

Decode:

decode(&String) -> Vec

let input_string: String = String::from("SGVsbG8gV29ybGQ=");
let result_vector: Vec<u8> = decode(&input_string);

License:

Licensed under the MIT License.