-
如无法编译,请确认是否设置符合模式为否,使用x86编译;
-
本程序的两个模块完全实现了:
- 基本数据类型的序列化与反序列化;
- STL中map, vector, pair, list, set的序列化与反序列化,且可嵌套;
- 自定义数据类型的序列化与反序列化,需要注意的是,用户必须使用我提供的宏函数声明和注册类变量!
- 实现了bonus1:使用base64对binary数据进行编码和解码!具体输出结果见.data文件。 测试时,输入0-25可测试总共26个数据,每个模块各13个。最后程序输出b变量的值,可以与原变量a进行比对。