Base64Encode: Difference between revisions
From Onset Developer Wiki
Created page with "{{FuncSyntax|Base64Encode(text) }}" |
FlyingFork (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{FuncSyntax|Base64Encode(text) | {{Info|Function|Server & Client|1.0}} | ||
}} | |||
{{FuncDescription|Encodes the specified text in the Base64 format.}} | |||
{{FuncSyntax|Base64Encode(text)}} | |||
{{FuncParameters}} | |||
{{FuncParam|text|the text.}} | |||
{{FuncReturnValue|}} | |||
The base64 string | |||
== Example == | |||
<syntaxhighlight lang="lua"> | |||
local encoded = Base64Encode("Placeholder") | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | |||
* [[Base64Decode]] |
Latest revision as of 15:58, 2 August 2021
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")