创建自己的 Boost::Archive 实现

发布于 2024-09-27 09:12:38 字数 340 浏览 0 评论 0原文

我目前正在创建一个使用 Boost::Serialization 的概念,并且需要实现自己的 Boost::Archive 因为数据必须以某种方式序列化。

文档中有关于实现自定义存档的文档: http://www.boost.org/doc/libs /1_44_0/libs/serialization/doc/index.html

但我很好奇网络上是否有任何其他(现实生活)示例。我找不到任何。也许有人可以向我指出来源或文章。

I'm currently creating a concept which uses Boost::Serialization and which needs to implement its own Boost::Archive cause the data has to be serialized in a certain way.

There is documentation about implementing custom archives in the documentation:
http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html

But I'm curious if there are any other (reallife) examples anywhere on the net. I couldn't find any. Perhaps someone could point me to a source or article.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文