Previous PageNext Page

6.3.3 BinaryWrite Method

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.
 

Syntax

Response.BinaryWrite data

Parameters

data
The binary information to be sent.

Example

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 © 2000 Chili!Soft

Previous PageTop Of PageNext Page