摘要: 1 介绍Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data – think XML, but smaller, faster, and simpler.2 Example:2.1 定义proto文件addrbook.protomessage Person { required string name = 1; required int32 id = 2; optional string email = 3; enum PhoneType { MOBILE 阅读全文
posted @ 2014-02-27 19:21 good90 阅读(1004) 评论(0) 推荐(0) 编辑