摘要:
阅读全文
摘要:
google/protobuf/wire_format.cc:1059]EncounteredstringcontaininginvalidUTF-8datawhileparsingprotocolbuffer.StringsmustcontainonlyUTF-8;usethe'bytes'typeforrawbytes.通过上图可以看出,通过在protobuf文件中使用bytes类型替代string类型,代码中不需要做任何修改可以解决。 阅读全文