Convert a base64-encoded string to a Uint8Array.
Note, this method always completes. If validBase64 is not valid base64, an incorrect result will be returned. If validBase64 is potentially malformed, check it with isBase64 before calling this method.
validBase64
For the reverse, see binToBase64.
a valid base64-encoded string to decode
Generated using TypeDoc
Convert a base64-encoded string to a Uint8Array.
Note, this method always completes. If
validBase64
is not valid base64, an incorrect result will be returned. IfvalidBase64
is potentially malformed, check it with isBase64 before calling this method.For the reverse, see binToBase64.