HttpWriter.WriteBytes(Byte[], Int32, Int32) 方法

定義

將一串具有指定起始位置與位元組數的位元組串流傳送到 HTTP 輸出串流。

public:
 void WriteBytes(cli::array <System::Byte> ^ buffer, int index, int count);
public void WriteBytes(byte[] buffer, int index, int count);
member this.WriteBytes : byte[] * int * int -> unit
Public Sub WriteBytes (buffer As Byte(), index As Integer, count As Integer)

參數

buffer
Byte[]

包含傳送到 HTTP 輸出串流的位元組的記憶體緩衝區。

index
Int32

第一個要傳送的位元組的緩衝區位置。

count
Int32

從指定的 index位元組位置開始,需傳送的位元組數。

適用於