Click here to Skip to main content
15,888,003 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I wanted to do object serialization in WindowsCE compact framework.

The BinaryFormatter class is missing in compact framework.



Can anyone tell how will the serialization will be done.

Thanks in advance.
Posted

1 solution

You will have to "brew your own" - this may help: ByteArrayBuilder - a StringBuilder for Bytes[^]
I use it for building byte arrays for specific format file construction, among other things.
 
Share this answer
 
Comments
NowONever 26-Nov-13 22:55pm    
I want something which will resemble to saving the object in serailized form. But when i will try to read the file by deserailizing it, i should get the same object state.
Can any one provide a different solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900