wiki.sine.space | sinespace

Difference between revisions of "Scripting/SString"

From wiki.sine.space
Jump to: navigation, search
(Created page with "The SHost class represents the scripting runtime. ==Members== {{ScriptFunction|string|MD5|(string input);|Calculates the MD5Sum of input and returns the result as a hexadecim...")
 
Line 6: Line 6:
 
{{ScriptFunction|string|Base64Encode|(byte[] input);|Converts input to Base64 and returns the result}}
 
{{ScriptFunction|string|Base64Encode|(byte[] input);|Converts input to Base64 and returns the result}}
 
{{ScriptFunction|string|Base64Decode|(string input);|Converts input from Base64 and returns the result}}
 
{{ScriptFunction|string|Base64Decode|(string input);|Converts input from Base64 and returns the result}}
 +
{{ScriptFunction|byte|GetBytes[]|(string input);|Converts input to bytes using UTF8 encoding}}
 +
{{ScriptFunction|string|GetString|(byte[] input);|Converts input to a UTF8 string}}
  
 
{{Scripting Navbox}}
 
{{Scripting Navbox}}

Revision as of 17:20, 17 January 2017

The SHost class represents the scripting runtime.

Members

MD5

string MD5 (string input);

Calculates the MD5Sum of input and returns the result as a hexadecimal string

No example provided yet


Base64Encode

string Base64Encode (string input);

Converts input to Base64 and returns the result

No example provided yet


Base64Encode

string Base64Encode (byte[] input);

Converts input to Base64 and returns the result

No example provided yet


Base64Decode

string Base64Decode (string input);

Converts input from Base64 and returns the result

No example provided yet


GetBytes[]

byte GetBytes[] (string input);

Converts input to bytes using UTF8 encoding

No example provided yet


GetString

string GetString (byte[] input);

Converts input to a UTF8 string

No example provided yet