Feedback

  • Contents
 

ISOAPBase64::DecodeToString Method

Synopsis

Decodes Base64 encoded data into a string.

Function Prototype

HRESULT DecodeToString(

   [in] BSTR bstrEncodedData,

   [in,optional] VARIANT vtCharacterSet,

   [out, retval] BSTR* pbstrResult

);

C/C++ Syntax

HRESULT DecodeToString(BSTR bstrEncodedData, VARIANT vtCharacterSet, BSTR* pbstrResult);

Parameters

bstrEncodedData

String containing the base54 encoded data.

vtCharacterSet

This optional input parameter is a VARIANT that identifies a character set.  Unicode (UTF-8) is used by default.  After decoding, the data is converted to a UNICODE string using this character set.  The character set may be specified as string or as a numeric code page.

pbstrResult

The return value is a string that contains the decoded data.