Constant lb64::config::IMAP

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

IMAP compliant configuration as specified in RFC 3501

Specifics:

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

Padding Character: None

Maximum Line Length: None

Example:

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

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