python使用protobuf

當然首先你得安裝好python和protobuf,之前的一篇博客有介紹: https://blog.csdn.net/monkeycat520/article/details/81592905 接下來需要定義一個.proto文件。例如testProtobuf.proto: syntax = "proto2"; message Person{ required int32 nID = 1; r
相關文章
相關標籤/搜索