ASP Response Object : BinaryWrite Method
The BinaryWrite method writes nonstring (binary) data to the current HTTP output without any character set conversion.
There is one mandatory argument:
- Data - the data to send to the HTTP output. The argument will be a variant array of unsigned one-byte characters.
Example:
<%
Response.BinaryWrite binaryData
%>
Personally, I've never had to use this method and have no idea what it is good for. Invoking it to send data to a webpage just results in that data being written in the web browser in the browser's default encoding. If you have an application for which this is suited, please /msg me with it or post it in a w/u below.
Back to the
ASP Response Object
Back to
ASP Objects
Resources:
http://www.devguru.com/
http://msdn.microsoft.com/asp/
All code is my own (yes, that one line above counts as code...I guess).