base64decode
Decodes Base64 data.
Syntax
Signature
base64decode(Text: string) -> stringAliases
base64_decodebase64.decodecrypt.base64decodecrypt.base64_decodecrypt.base64.decode
Parameters
| Parameter | Type | Description |
|---|---|---|
Text | string | Base64 text to decode. |
Returns
| Type | Description |
|---|---|
string | Decoded bytes. |
Notes
The decoder skips characters outside the Base64 alphabet and stops at the first = character. It does not validate padding or reject malformed text.
Example
Luau
local Result = base64decode("hello")
print(Result)