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

適用於