Constant lb64::config::STANDARD

source ·
pub const STANDARD: &Config<'_>;
Expand description

Base64 standard compliant configuration as specified in RFC 4648

Specifics:

Character Set: [A-Z], [a-z], [0-9], +, /

Padding Character: =

Maximum Line Length: No maximum

Example:

extern crate lb64;
use lb64::{config, Base64};

fn main() {
    let b64 = Base64::new_encode_unsigned(&63, config::STANDARD); // Creates a Standard Compliant b64 of value 63
    println!("{}", config::STANDARD);
    println!("{}", b64);
}