Base64Encode: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
Line 9: Line 9:


{{FuncReturnValue|}}
{{FuncReturnValue|}}
The base64
The base64 string


== Example ==
== Example ==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
-- code
local encoded = Base64Encode("Placeholder")
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[Base64Decode]]
* [[Base64Decode]]

Latest revision as of 15:58, 2 August 2021

Base64Encode

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

Description

Encodes the specified text in the Base64 format.

Syntax

Base64Encode(text)

Parameters

  • text
    the text.

Return Value

The base64 string

Example

local encoded = Base64Encode("Placeholder")

See also