Yuari
Documentation
Docs/Core functions/base64encode

base64encode

Standard Base64 helpers.

Syntax

base64encode(str: any) -> string

Parameters

ParameterTypeDescription
stranyThe str value used by the call.

Returns

TypeDescription
stringString

Description

base64encode is part of the Core functions library. Core globals are installed in every executor thread and drive output, scheduling and identity.

The operation is performed immediately using the arguments supplied at the call site.

The aliases base64decode(str) resolve to the same implementation.

Example

local encoded = base64encode("hello")
print(encoded, base64decode(encoded))

Notes

  • Aliases: base64decode(str).
  • Core globals are available in every script.