Decode a base64-encoded byte array.
We provide our own implementation so that we do not run into compatibility issues with node.js, different browsers etc. See: https://stackoverflow.com/questions/21797299/convert-base64-string-to-arraybuffer
either the array or an error, if text is not a valid base64 encoding
text
to be decoded
Generated using TypeDoc
Decode a base64-encoded byte array.
Remarks
We provide our own implementation so that we do not run into compatibility issues with node.js, different browsers etc. See: https://stackoverflow.com/questions/21797299/convert-base64-string-to-arraybuffer
Returns
either the array or an error, if
text
is not a valid base64 encoding