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 相容性。

適用於