用python解析protobuf数据,却遇到了tag had invalid wire type错误?
大家讲道理
大家讲道理 2017-04-18 10:13:41
0
1
854
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (1)
Peter_Zhu

You try not to save the file and directly use ParseFromString to see if it can be parsed successfully. Could it be that the binary data changed during the transmission process, but the Java parsing was successful, which is strange. You can also ask the server to write files, and then compare the size with the file you wrote. See if it's the same.
I googled this exception, please refer to https://groups.google.com/for...

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!