2
Reply

Convert object to byte[] and back

sporadic

sporadic

Mar 1 2004 12:16 PM
2.4k
I'm wanting to write objects of various types to a file as bytes and then retrieve then later reading in the bytes, converting them back to the object. Any ideas on how to get started on this? I haven't seen any classes in MSDN library so far that will do a direct conversion from any object to a byte[] and vice versa. Thanks everyone!

Answers (2)