详情请看: http://www.cppblog.com/woaidongmao/archive/2009/06/23/88391.html GO语言对PB协议的操作: https://developers.google.com/protocol-buffers/docs/gotutorial