Breyta

Deila með


HttpRequest.BinaryRead(Int32) Method

Definition

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

public:
 cli::array <System::Byte> ^ BinaryRead(int count);
public byte[] BinaryRead (int count);
member this.BinaryRead : int -> byte[]
Public Function BinaryRead (count As Integer) As Byte()

Parameters

count
Int32

The number of bytes to read.

Returns

Byte[]

A byte array.

Exceptions

count is 0.

-or-

count is greater than the number of bytes available.

Remarks

The BinaryRead method is provided for compatibility with ASP.

Applies to