zoukankan      html  css  js  c++  java
  • [手游项目2]-2-【libprotobuf ERROR 】Use the 'bytes' type if you intend to send raw bytes.

    报错
    [libprotobuf ERROR e:patchprotobuf-2.5.0srcgoogleprotobufwire_format.cc:10
    53] String field contains invalid UTF-8 data when serializing a protocol buffer.
     Use the 'bytes' type if you intend to send raw bytes.


    点击打开链接
    点击打开链接

    解决方法:在赋值给probuf的前先把char*转化成string 
     
     
  • 相关阅读:
    iView
    JS
    JS
    JS
    Java
    Java
    Java
    Java
    Java
    Java
  • 原文地址:https://www.cnblogs.com/byfei/p/14104239.html
Copyright © 2011-2022 走看看