wiki.sine.space | sinespace

Scripting/SString

From wiki.sine.space
Revision as of 17:20, 17 January 2017 by Sinewave (Talk | contribs)

Jump to: navigation, search

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