msg_writer
概述
msg_writer 是 Aspose.Email 中用于 CPP 的类。
方法
| 签名 | 描述 |
|---|---|
to_bytes(document: msg_document) → std::vector<std::uint8_t> | 将 msg_document 转换为表示 MSG 文件的字节向量 |
write_file(document: msg_document, path: std::filesystem::path) | 将 msg_document 写入指定的文件系统路径,保存为 MSG 文件 |
write_stream(document: msg_document, stream: std::ostream) | 将 msg_document 以 MSG 格式写入给定的输出流 |