Xojo Plugin
Xojo Plugin
Example: Crypt2.DecodeString method
Demonstrates how to call the DecodeString method.Chilkat Xojo Plugin Downloads
Dim crypt2 As New Chilkat.Crypt2
// The string "Hello World" in base64 (using the utf-8 byte representation) is "SGVsbG8gV29ybGQ="
Dim encodedStr As String
encodedStr = "SGVsbG8gV29ybGQ="
Dim encoding As String
encoding = "base64"
Dim charset As String
charset = "utf-8"
Dim str As String
str = crypt2.DecodeString(encodedStr,charset,encoding)
System.DebugLog(str)
// Output is "Hello World"