Possible Duplicate:
Binary serialization/de-serialization in C++ and C#
I am working on a project where server is written in C++ (boost is extensively used) and the client application is written in C#. I am facing the problem while serializing/deserializing messages between client/server.
I have studied various alternative libraries for achieving this sort of cross-platform serialization, and Protocol Buffers seems to be the best... but it does not support serialization of the standard library's map
container and boost::shared_ptr
.
My question then, is:
map
and boost::shared_ptr
could be serialized using Protocol Buffers. Or failing that,What about wrapping the c++ message classes with c++/cli ref classes so that you use the same boost serialisation library on the client side.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With