This documentation is archived and is not being maintained.

HttpWriter.WriteBytes Method

Sends a stream of bytes with the specified starting position and number of bytes to the HTTP output stream.

[Visual Basic]
Public Sub WriteBytes( _
   ByVal buffer() As Byte, _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public void WriteBytes(
 byte[] buffer,
 int index,
 int count
);
[C++]
public: void WriteBytes(
 unsigned char buffer __gc[],
 int index,
 int count
);
[JScript]
public function WriteBytes(
   buffer : Byte[],
 index : int,
 count : int
);

Parameters

buffer
The memory buffer containing the bytes to send to the HTTP output stream.
index
The buffer position of the first byte to send.
count
The number of bytes to send, beginning at the byte position specified by index.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWriter Class | HttpWriter Members | System.Web Namespace

Show: