I have a BigInteger
serialized to a file by a Java program using the writeObject
method from ObjectOutputStream
.
Can I deserialize it in C#? I tried using the java.math
and java.io
classes of vjslib
, but I get an exception:
InvalidClassException the class does not match the class of the persisted object for cl = java.lang.Number : __SUID = -8742448824652078965, getSUID(cl) = 3166984097235214156
Any ideas?