HttpRequest.BinaryRead(Int32) HttpRequest.BinaryRead(Int32) HttpRequest.BinaryRead(Int32) HttpRequest.BinaryRead(Int32) Method

定义

执行对当前输入流进行指定字节数的二进制读取。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()

参数

count
Int32 Int32 Int32 Int32

要读取的字节数。The number of bytes to read.

返回

Byte[]

字节数组。A byte array.

异常

count 为 0。count is 0.

- 或 --or- count 大于可用的字节数。count is greater than the number of bytes available.

注解

提供BinaryRead此方法是为了与 ASP 兼容。The BinaryRead method is provided for compatibility with ASP.

适用于