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