The BinaryWrite method writes the specified information to the current HTTP output without any character conversion. This method is useful for writing nonstring information such as binary data required by a custom application.
Response.BinaryWrite data
data
The data to write to the HTTP output.
If you have an object that generates an array of bytes, you can use the following call to BinaryWrite to send the bytes to a custom application.
<% set bg = Server.CreateObject(MY.BinaryGenerator)
pict = bg.MakePicture
Response.BinaryWrite pict %>
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/obj/introbj_24.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/11/22 09:01,
13.59.134.65:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/asp/obj/introbj_24.htm"> BinaryWrite</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.