Feedback

  • Contents
 

ISOAPBase64::DecodeToFile Method

Synopsis

Decodes base64 encoded data and writes it to a file. Existing output files can be appended or overwritten.

Function Prototype

HRESULT DecodeToFile(

   [in] BSTR bstrEncodedData,

   [in] BSTR bstrFilename,

   [in,optional] VARIANT vtAppendToFile

);

C/C++ Syntax

HRESULT DecodeToFile(BSTR bstrEncodedData, BSTR bstrFilename, VARIANT vtAppendToFile);

Parameters

bstrEncodedData

A string containing the Base64-encoded data you wish to decode.

bstrFilename

The fully qualified path and filename of the file to be created.

vtAppendToFile

This optional parameter determines whether data will be appended to an existing file, if one exists. The default is False, meaning that existing files are replaced.