是否可以将数据结构(使用boost :: serialization)序列化为字符串变量或缓冲区(而不是序列化为磁盘上的文件)?

最佳答案

当然,使其在stringstream上工作。

关于serialization - boost::serialization-转换为字符串,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5774829/

10-11 22:57