StreamContainer.Write
Write(byte[])
将所有指定的字节写入流。
public virtual void Write(byte[] bytes)
| 参数 | 类型 | 描述 |
|---|---|---|
| bytes | Byte[] | 要写入的字节。 |
另请参见
- class StreamContainer
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Write(byte[], int, int)
将一系列字节写入当前流,并将此流中的当前位置前移写入的字节数。
public virtual void Write(byte[] buffer, int offset, int count)
| 参数 | 类型 | 描述 |
|---|---|---|
| buffer | Byte[] | 字节数组。此方法将 count 字节从 buffer 复制到当前流。 |
| 偏移 | Int32 | 在 buffer 中的基于零的字节偏移量,从该位置开始将字节复制到当前流。 |
| count | Int32 | 要写入当前流的字节数。 |
另请参见
- class StreamContainer
- namespace Aspose.Imaging
- assembly Aspose.Imaging