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.

適用於