pub fn maybe_decode_base64(input: &str) -> StringExpand description
Attempt to decode a base64-encoded string.
Returns the decoded UTF-8 string if the input is valid base64 that decodes to valid UTF-8. Returns the original string unchanged otherwise.