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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph