How to convert from your Class object to byte[] and vice versa and send it through Sockets

I’ve moved this post to my new blog.
http://fpgentil.github.io/2012/how-to-convert-from-your-class-object-to-byte-and-vice-versa-and-send-it-through-sockets/

Advertisements

5 comments

  1. GREAT WORK! you saved my time, keep posting. Thanks…

    TestXML objNew = new TestXML();
    TestXML = (TestXML)ByteArrayToClass(finalValue);

    In the above lines i see a minor error, which i have correct below.

    TestXML objNew = new TestXML();
    objNew = (TestXML)ByteArrayToClass(finalValue);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s