COMCharStream.Write(Byte[], Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的字节数据写入流。
此 API 支持产品基础结构,不能在代码中直接使用。
public:
override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
public override void Write(byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)
参数
- buffer
- Byte[]
要复制到当前流的字节数据数组。
- offset
- Int32
从零开始的字节偏移量 buffer ,开始将字节复制到当前流。
- count
- Int32
要从 buffer 当前流复制到的字节数。