Dela via


IDataWriter.WriteBuffer Method

Definition

Overloads

WriteBuffer(IBuffer)

Writes a number of bytes from a buffer to the output stream.

WriteBuffer(IBuffer, UInt32, UInt32)

Writes a range of bytes from a buffer to the output stream.

WriteBuffer(IBuffer)

Writes a number of bytes from a buffer to the output stream.

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)

Parameters

buffer
IBuffer

The buffer.

Attributes

See also

Applies to

WriteBuffer(IBuffer, UInt32, UInt32)

Writes a range of bytes from a buffer to the output stream.

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)

Parameters

buffer
IBuffer

The buffer.

start
UInt32

unsigned int

uint32_t

The starting byte tobe written.

count
UInt32

unsigned int

uint32_t

The number of bytes to write.

Attributes

See also

Applies to