msg_writer

概述

msg_writer 是 Aspose.Email FOSS 中用于 C++ 的一个类。

描述

msg_writer 是 Aspose.Email FOSS 库中用于 C++ 的一个类,提供 3 个方法和 0 个属性供编程使用。

核心功能包括:将给定的 msg_document 写入指定路径的文件;将 msg_document 序列化到提供的 std::ostream 中。这些操作使开发者能够将 msg_writer 功能直接集成到 C++ 应用程序中。

方法

签名描述
to_bytes(document: msg_document) → std::vector<std::uint8_t>将提供的 msg_document 转换为 std::vectorstd::uint8_t
write_file(document: msg_document, path: std::filesystem::path)将给定的 msg_document 写入指定路径的文件
write_stream(document: msg_document, stream: std::ostream)将 msg_document 序列化到提供的 std::ostream 中

另请参阅

 中文