base64Decode
fn
ubyte[] base64Decode(string encoded) @safeDecodes a Base64 string to raw bytes.
Parameters
encoded | The Base64 string (may contain whitespace/newlines, which are ignored). |
Returns
The decoded bytes.
Throws
CryptoException if the input contains invalid Base64 characters or
has incorrect padding.