Function base64_decode
Source pub fn base64_decode(value: &str) -> Result<String, &'static str>
Expand description
Decodes a Base64-encoded string to its original binary representation.
This function is similar to the built-in atob function in native JavaScript.
§Arguments
value - The Base64-encoded string to be decoded.
§Returns
A Result containing the decoded string or an error message.
§References