创建文件格式和使用 C++ 进行序列化的介绍材料;
我正在寻找关于将数据序列化到文件时重要的事情的简短概述。有哪些技术可以处理数据结构的后续变化?是否有某些常用的标头结构?
特别针对 C++:什么库适合此类任务?升压序列化?
编辑:如果可能,请提供包含一些答案的链接!
感谢您的任何提示,
菲利普
I am looking for a good short overview about things that are important when serializing data to files. What techniques exist to deal with later changes in data structures? Are there certain header structures that are commonly used?
Specifically for C++: What library is appropriate for such tasks? Boost.Serialization?
EDIT: If possible, please provide a link that contains some answers!
Thanks for any hints,
Philipp
第一部分是格式的选择:
确定格式后,您需要考虑版本控制等问题:
然后你可以考虑库:
The first part is the choice of format:
Once you have the format, you need to think about things like versioning:
And then you can think about libraries: