pub fn base64_decode(input: &str) -> String
Expand description

Decode a base64 string.

If the result is not a valid utf8 string then it is lossily coerced.


assert_eq!(base64_decode("aGVsbG8="), "hello");

Panics

Will panic if it’s not valid base64 leading to a string.