serialize in .NET, deserialize in C++

前端 未结 7 933
死守一世寂寞
死守一世寂寞 2021-02-13 20:03

I have a .NET application which serializes an object in binary format. this object is a struct consisting of a few fields.

I must deserialize and use this object in a C+

7条回答
  •  有刺的猬
    2021-02-13 20:36

    Serializing in a binary format and expecting an application in another language to read the binary is a very brittle solution (ie it will tend to break on the smallest change to anything).

    It would be more stable to serialize the data in a common standard format.

提交回复
热议问题