base64_decode.
Parameters
string
required
The Base64 text to decode.
Returns
string
The original bytes.
Example
Errors
Related
base64encode: encode first.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Decode a Base64 string.
base64decode(data: string) -> string
base64_decode.
print(base64decode("aGVsbG8=")) -- hello
| Message | Condition |
|---|---|
argument 1 must be a string to decode | Argument 1 was not a string. |
the input is not valid base64 | The input was not valid Base64. |
base64encode: encode first.