Bewerken

Delen via


HttpRequestWrapper.BinaryRead(Int32) Method

Definition

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

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

Parameters

count
Int32

The number of bytes to read.

Returns

Byte[]

An array that contains the binary data.

Exceptions

count is less than 0.

-or-

count is greater than the number of bytes available.

Applies to