Closed GoogleCodeExporter closed 9 years ago
AS3:6433130303031a561646d696e12(20)ba7816bf8f1cfea414140de5dae2223b0361a396177a9
cb410ff61f2
C++:6433130303031a561646d696e12(1d)ba7816bf8f1cfea414140de5dae2223b0361a396177a9
cb410ff61f2
Original comment by CChunq...@gmail.com
on 23 May 2012 at 6:21
1. protoc-gen-as3生成的数据正确无误。
2. 你贴出来的代码有误:
code += data[i].toString(16);
这行代码应改为
code += (data[i] % 8).toString(16);
code += uint(data[i]).toString(16);
Original comment by pop.atry@gmail.com
on 23 May 2012 at 7:30
那为什么protoc-gen-as3生成的数据的数据给C++
转不会来,就这个协议不行,其他协议都可以转化过去
Original comment by CChunq...@gmail.com
on 23 May 2012 at 10:45
你转十六进制字符串的代码写错了
你给C++用了不同的数据
Original comment by pop.atry@gmail.com
on 23 May 2012 at 3:53
Original issue reported on code.google.com by
CChunq...@gmail.com
on 23 May 2012 at 6:18