System.Web Namespace HttpRequest Class
Performs a binary read of a specified number of bytes from the current input stream.
[ VB ]
Public Function BinaryRead ( _
ByVal count As Integer _
) As Byte ( )
[ C# ]
public byte [ ] BinaryRead (
int count
);
[ C++ ]
public: unsigned char BinaryRead (
int count
) __gc [ ];
[ JScript ]
public function BinaryRead (
count : int
) : Byte [ ];
- count
- Number of bytes to read.
A byte array.
Exception Type |
Condition |
ArgumentException |
Occurs when the value of count is 0 or greater than the number of bytes available. |
The BinaryRead method is provided for compatibility with previous versions of ASP.
Response.BinaryWrite HttpRequest Members