IResponse::BinaryWrite

This method writes data to the HTTP output without any character conversion. For more information, see the BinaryWrite method of the Response Object.

HRESULT BinaryWrite(

SAFEARRAY * pvarBuffer

//pointer to an array that contains the data

);