Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deserializing C# Binary in Java

I have a system where a serialized file is created with a C# program and then deserialized in another C# program. I'm wondering if it's possible to do binary deserialization of a C# file in Java?

Thanks

like image 889
user2686811 Avatar asked Feb 16 '23 13:02

user2686811


1 Answers

You can try using some serializator that has implementations for both platforms and outputs data in a platform-independet format, like Protobuf.

Or if you need a full RPC over network between Java and C# application, you can go for Apache Thrift.

like image 72
alex Avatar answered Feb 19 '23 05:02

alex