|
The BinaryWrite method writes the specified information to the current HTTP output without any character conversion. It is useful for sending non-string information, such as binary data required by custom applications.
Response.BinaryWrite data
data
The binary information to be sent.
If you have an object that creates an array of bytes, you can send the results using BinaryWrite:
<%
Set bg = Server.CreateObject(MY.BinaryGenerator)
Pict = bg.MakePicture
Response.BinaryWrite Pict
%>
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.