共用方式為


IDataWriter.WriteBuffer 方法

定義

多載

WriteBuffer(IBuffer)

將緩衝區中的位元組數寫入輸出資料流程。

WriteBuffer(IBuffer, UInt32, UInt32)

將緩衝區中的位元組範圍寫入輸出資料流程。

WriteBuffer(IBuffer)

將緩衝區中的位元組數寫入輸出資料流程。

public:
 void WriteBuffer(IBuffer ^ buffer);
/// [Windows.Foundation.Metadata.Overload("WriteBuffer")]
void WriteBuffer(IBuffer const& buffer);
[Windows.Foundation.Metadata.Overload("WriteBuffer")]
public void WriteBuffer(IBuffer buffer);
function writeBuffer(buffer)
Public Sub WriteBuffer (buffer As IBuffer)

參數

buffer
IBuffer

緩衝區。

屬性

另請參閱

適用於

WriteBuffer(IBuffer, UInt32, UInt32)

將緩衝區中的位元組範圍寫入輸出資料流程。

public:
 void WriteBuffer(IBuffer ^ buffer, unsigned int start, unsigned int count);
/// [Windows.Foundation.Metadata.Overload("WriteBufferRange")]
void WriteBuffer(IBuffer const& buffer, uint32_t const& start, uint32_t const& count);
[Windows.Foundation.Metadata.Overload("WriteBufferRange")]
public void WriteBuffer(IBuffer buffer, uint start, uint count);
function writeBuffer(buffer, start, count)
Public Sub WriteBuffer (buffer As IBuffer, start As UInteger, count As UInteger)

參數

buffer
IBuffer

緩衝區。

start
UInt32

unsigned int

uint32_t

要寫入的起始位元組。

count
UInt32

unsigned int

uint32_t

要寫入的位元組數。

屬性

另請參閱

適用於