HttpRequest.BinaryRead(Int32) 方法

定义

从当前输入流中执行指定字节数的二进制读取。

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()

参数

count
Int32

要读取的字节数。

返回

Byte[]

字节数组。

例外

count 为 0。

-或-

count 大于可用字节数。

注解

提供 BinaryRead 此方法是为了与 ASP 兼容。

适用于