Sample code for 30+ languages & platforms
Xojo Plugin Requires Chilkat v11.0.0+

Transition from Crypt2.Decode to BinData.AppendEncoded

Provides instructions for replacing deprecated Decode method calls with AppendEncoded.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim crypt2 As New Chilkat.Crypt2

//  ...
//  ...
Dim byteData As MemoryBlock
Dim encoding As String
encoding = "base64"

//  ------------------------------------------------------------------------
//  The Decode method is deprecated:
byteData = crypt2.Decode("ENCODED_DATA...",encoding)

//  ------------------------------------------------------------------------
//  Do the equivalent using BinData.AppendEncoded.

Dim bd As New Chilkat.BinData
success = bd.AppendEncoded("ENCODED_DATA...",encoding)
byteData = bd.GetData()