BASE64_MIME_PERMISSIVE

Static BASE64_MIME_PERMISSIVE 

Source
pub static BASE64_MIME_PERMISSIVE: Base64Wrap
Expand description

MIME base64 encoding without trailing bits check

This encoding is a static version of:

let mut spec = Specification::new();
spec.symbols.push_str("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
spec.padding = Some('=');
spec.wrap.width = 76;
spec.wrap.separator.push_str("\r\n");
spec.check_trailing_bits = false;
assert_eq!(BASE64_MIME_PERMISSIVE.as_dyn(), &spec.encoding().unwrap());

It does not exactly conform to RFC2045 because it does not print the header and does not ignore all characters.