Like decode, but returns undefined instead of throwing when the input is not a string or is not valid Base64.
undefined
The Base64 text.
Optional
The alphabet the input uses.
The decoded bytes, or undefined if the input is invalid.
Only if options.alphabet is unknown (a programming error).
options.alphabet
Like decode, but returns
undefinedinstead of throwing when the input is not a string or is not valid Base64.