Xojo Plugin
Xojo Plugin
Decode Base64
Demonstrates how to decode base64.Chilkat Xojo Plugin Downloads
Dim success As Boolean
success = False
Dim bd As New Chilkat.BinData
// Append a base64 string to bd.
success = bd.AppendEncoded("c2VjcmV0","base64")
// The bd now contains the decoded bytes.
// Let's say it was a password string..
Dim password As String
password = bd.GetString("utf-8")
// Decodes to "secret".
System.DebugLog("password = " + password)