HttpRequestWrapper.BinaryRead Method (Int32)

 

Performs a binary read of a specified number of bytes from the current input stream.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

Public Overrides Function BinaryRead (
	count As Integer
) As Byte()

Parameters

count
Type: System.Int32

The number of bytes to read.

Return Value

Type: System.Byte()

An array that contains the binary data.

Exception Condition
ArgumentOutOfRangeException

count is less than 0.

- or -

count is greater than the number of bytes available.

.NET Framework
Available since 3.5
Return to top
Show: