Syntax
base64_decode(data: string): stringAliases
base64decodebase64.decodecrypt.base64.decodecrypt.base64_decodecrypt.base64decodeArguments
| Name | Type | Description |
|---|---|---|
data | string | The base64 encoded string. |
Returns
| Name | Type | Description |
|---|---|---|
decoded | string | The base64 decoded string. |
Description
Decodes a base64 encoded string.
Call it with 1 parameter(s): data. The argument table explains which values are required and which ones only refine the behavior.
It returns decoded (string). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = base64_decode("example")
print(result)