Capy-Bearer Documentation

base64_encode

host call

Capy

function base64_encode(value : string) string

Description

base64_encode encodes a string as Base64 text.

Use base64_decode to decode the result.

Parameters

value : source string

Return Values

Base64 text

Example

Capy

print(base64_encode("hello"), "\n")