Constant data_encoding::BASE64 [] [src]

pub const BASE64: Encoding = BASE64_IMPL

RFC4648 base64 encoding

This encoding is a static version of:

let mut spec = Specification::new();
spec.symbols.push_str(
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
spec.padding = Some('=');
assert_eq!(BASE64, spec.encoding().unwrap());

It is conform to RFC4648.