这篇文章主要是介绍如何在AndroidStudio中使用protobuf协议。
先简单的介绍下protobuf:
什么是protobuf呢?官网是这么说的:
Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data 。
翻译过来大概就是:Protocol Buffers(也称protobuf)是google旗下一款独立于开发语言,独立于平台的可扩展的结构化数据序列机制。