:Decode() - Decode a base64 encoded character string


Class

     aprEncode()

 

Syntax

     :DecodeFile(cInVar) --> cDecodedText

 

Parameters

 

cInVar

String to be Decoded

 

 

Return

     cDecodedText. Character String of the Decoded Text

     If the operation failed NIL is returned, look at :nErr and :cErr for more information.

 

Description

     Decodes the contents of the specified base64 encoded character string variable and returns the results.

 

The :Decode() Method is used to decode a Character String that was previously encoded with the :Encode() Method.

This Method uses the standard base64 encoding algorithm to decode the data. To decode the contents of a file, it is recommended that you use the :DecodeFile() Method instead.

 

See Also

 :Encode, :EncodeFile, :DecodeFile