System::IO::Stream::Write 方法
内容
[
隐藏
]Stream::Write(const ArrayPtr<uint8_t>&, int32_t, int32_t) method
将指定字节数组中的指定子范围字节写入流。
virtual void System::IO::Stream::Write(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| buffer | const ArrayPtr<uint8_t>& | 包含要写入字节的数组 |
| offset | int32_t | 在 buffer 中子范围写入开始的 0 基索引 |
| count | int32_t | 要写入的子范围中元素的数量 |
另见
- Typedef ArrayPtr
- Class Stream
- Namespace System::IO
- Library Aspose.Font for C++
Stream::Write(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method
将指定字节数组中的指定子范围字节写入流。
virtual void System::IO::Stream::Write(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t count)
| 参数 | 类型 | 描述 |
|---|---|---|
| buffer | const System::Details::ArrayView<uint8_t>& | 包含要写入字节的数组视图 |
| offset | int32_t | 在 buffer 中子范围写入开始的 0 基索引 |
| count | int32_t | 要写入的子范围中元素的数量 |
另见
- Class Stream
- Namespace System::IO
- Library Aspose.Font for C++
Stream::Write(const System::Details::StackArray<uint8_t, N>&, int32_t, int32_t) method
将指定字节数组中的指定子范围字节写入流。
template<std::size_t> void System::IO::Stream::Write(const System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t count)
| 参数 | 描述 |
|---|---|
| N | 栈数组的大小 |
| 参数 | 类型 | 描述 |
|---|---|---|
| buffer | const System::Details::StackArray<uint8_t, N>& | 包含待写入字节的栈数组 |
| offset | int32_t | 在 buffer 中子范围写入开始的 0 基索引 |
| count | int32_t | 要写入的子范围中元素的数量 |
另见
- Class Stream
- Namespace System::IO
- Library Aspose.Font for C++