System::IO::BinaryWriter::BinaryWriter 构造函数
BinaryWriter::BinaryWriter constructor
构造一个 BinaryWriter 类的实例,该实例使用指定的编码将数据写入指定的流。
System::IO::BinaryWriter::BinaryWriter(const StreamPtr &stream, const EncodingPtr &encoding=System::Text::Encoding::get_UTF8Unmarked(), bool leaveopen=false)
| Parameter | Type | 描述 |
|---|---|---|
| 流 | const StreamPtr& | 输出流 |
| encoding | const EncodingPtr& | 要使用的编码 |
| leaveopen | bool | 指定在当前对象被释放后,流 stream 是否应保持打开(true)或关闭(false)。 |
另见
- Typedef StreamPtr
- Typedef EncodingPtr
- Class BinaryWriter
- Namespace System::IO
- Library Aspose.Page for C++