sporadic

sporadic

  • NA
  • 1
  • 0

Convert object to byte[] and back

Mar 1 2004 12:16 PM
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)