Capy-Bearer Documentation

base64_decode

host call

Capy

function base64_decode(value : string) string

Description

base64_decode decodes Base64 text into a string.

Invalid Base64 text returns an empty string.

Parameters

value : Base64 text

Return Values

the decoded string

Example

Capy

print(base64_decode("aGVsbG8="), "\n")