decodeBase64
Requires a Node.js runtime ('qsu/node')Decodes an encoded base64 string to a plain string.
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
encodedStr | stringStringstr | ● | – |
Returns
string
String
str
Examples
javascript
decodeBase64('dGhpcyBpcyB0ZXN0'); // Returns 'this is test'dart
decodeBase64('dGhpcyBpcyB0ZXN0'); // Returns 'this is test'python
decodeBase64('dGhpcyBpcyB0ZXN0') # Returns 'this is test'