基础
序列化语言,比XML快,支持C++,java,python,C#..
了解下:
Google Protocol Buffers浅析(一、二、三、四)
编写一个protocol buffers应用:
1、定义消息格式文件,最好以proto作为后缀名
2、使用Google提供的protocol buffers编译器来生成代码文件,一般为.h和.cc文件,主要是对消息格式以特定的语言方式描述
3、使用protocol buffers库提供的API来编写应用程序
待续
google buffer 的官方参考文档:
https://developers.google.com/protocol-buffers/docs/reference/cpp-generated(打开不了自己翻墙或买VPN)
链接: https://pan.baidu.com/s/1xJujwP0k1ZedrdZMhaXMkg 提取码: mhqw
protobuf-all-3.6.1.zip : https://github.com/protocolbuffers/protobuf/releases/tag/v3.6.1
README.md https://www.cnblogs.com/shiy/p/6526868.html
环境配置教程