Constant data_encoding::BASE64
source · pub const BASE64: Encoding;
Expand description
Padded 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 conforms to RFC4648.