简体   繁体   English

将64位应用程序中的protobuf消息编码并在32位应用程序中解码吗?

[英]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.

相关问题 从32位应用启动64位应用? - Start a 64bit app from a 32bit app? Windows应用商店DLL 32位和64位 - Windows Store App DLL 32bit and 64bit Xcode:编译具有32bit库的64bit应用 - Xcode: compile 64bit app with 32bit library 32位应用程序中的WebBrowser控件在window.open()调用上启动64位Internet Explorer - WebBrowser Control in 32bit app Launches 64bit Internet Explorer on window.open() call 64位服务器下的OpenSSL问题,同一32位(QT应用程序)下没有 - OpenSSL issue under 64bit server and none under same 32bit (QT app) 为什么64位版本的应用程序比32位版本慢得多 - Why 64Bit version app is much slower than 32Bit version 在Win 7 64bit下使用/ 3gb开关(-GF LARGEADDRESSAWARE)运行32bit Borland XE2应用程序? - Running 32bit Borland XE2 app under Win 7 64bit with /3gb switch (-GF LARGEADDRESSAWARE )? Visual Studio - C++ - 以 32 位或 64 位形式构建和运行应用程序 - 从适当的 ProgramFiles 目录加载 DLL - Visual Studio - C++ - build and run app as 32bit or 64bit - load DLL from appropripate ProgramFiles dir 32bit至64bit内联汇编端口 - 32bit to 64bit inline assembly porting 从64位整数中提取32位 - extract 32bit from 64bit integer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM