
Has anyone had any luck getting a serialized object (created using boost binary serialization) between two different platforms? I am currently using binary serialization on 32 bit & 64 bit machines without issue. However, passing the serialized objects between the two platform types fail. The serialized classes themselves support interoperability, and as such it appears that the serialization libraries themselves do not. I am assuming they are storing some type of meta data along with the payload? Any thoughts on how to do this and keep with binary serialization? -- John

It is stated in the documentation that native binary archives cannot be
expected to be portable accross machine architectures. text (and xml) based
archives should be portabable without problem.
Robert Ramey
"John Spicer"

"Robert Ramey"
It is stated in the documentation that native binary archives cannot be expected to be portable accross machine architectures. text (and xml) based archives should be portabable without problem.
I think this has been requested before, but maybe now with Beman's new (and nice) "endian" library, it's time to put together a portable (cross-platform) binary archive scheme (maybe more than one) for Boost.Serialization. I have yet to use Boost.Serialization, so I don't know the issues or scope of effort, but would be happy to volunteer some help (and it would be a good excuse to start learning B.S). Cliff
participants (3)
-
Cliff Green
-
John Spicer
-
Robert Ramey