简体   繁体   中英

Will encoding protobuf messages in 64bit app and decoding in 32bit app work?

Proto n00b. I am encoding protobuf messages in a 64bit app and the receiving side is 32bit app. 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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM