HttpRequestWrapper.BinaryRead(Int32) 方法

定義

在目前輸入資料流執行指定位元組數的二進位讀取。

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

參數

count
Int32

要讀取的位元組數。

傳回

Byte[]

包含二進位資料的陣列。

例外狀況

count 小於 0。

-或-

count 大於可用位元組數。

適用於