asp.net.ph

Request.BinaryRead Method

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 [ ];

Parameters

count
Number of bytes to read.

Return Value

A byte array.

Exceptions


Exception Type Condition
ArgumentException Occurs when the value of count is 0 or greater than the number of bytes available.

Remarks

The BinaryRead method is provided for compatibility with previous versions of ASP.

See Also

Response.BinaryWrite   HttpRequest Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note