HttpWriter.WriteBytes(Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將一串具有指定起始位置與位元組數的位元組串流傳送到 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位元組位置開始,需傳送的位元組數。