[英]Will encoding protobuf messages in 64bit app and decoding in 32bit app work?
Proto n00b. Proto n00b。 I am encoding protobuf messages in a 64bit app and the receiving side is 32bit app.
我在64位应用程序中编码protobuf消息,接收方是32位应用程序。 Such is the architecture at this time, and i am trying to understand if this will work.
这是当时的架构,我试图了解这是否有效。
Most of the proto scalar types seems to have a size defined except for float and double. 除了float和double之外,大多数proto标量类型似乎都有一个定义的大小。 So I am thinking this should work.
所以我认为这应该有效。 But if there are other things to be concerned about in an environment like this, I know not and hence requesting help.
但是,如果在这样的环境中还有其他事情需要关注,我不知道,因此请求帮助。
Thanks!! 谢谢!!
Yes, it will work. 是的,它会起作用。 The Protobuf encoding is completely independent of architecture.
Protobuf编码完全独立于架构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.