Base64Decode

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Base64Decode

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Decodes the Base64 into text.

Syntax

Base64Decode(base64)

Parameters

  • base64
    The base64 string.

Return Value

  • Text string.

Example

local encoded = Base64Encode("Placeholder")  -- encodes string "Placeholder"
local decoded = Base64Decode(encoded)  -- returns "Placeholder"

See also