IDataWriter.WriteBuffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
要写入的字节数。
- 属性