0 Replies - 401 Views - Last Post: 22 February 2009 - 06:50 PM Rate Topic: -----

#1 George2  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 83
  • Joined: 14-December 08

customize deserialization sample in C#?

Posted 22 February 2009 - 06:50 PM

Hello everyone,

I am looking for a sample, which could let me deserialize an XML stream encoded in UTF-8 into a field of a class. More specifically, I have a class like,

	class Foo
	{
		string abc;
		byte[] bcd;
	}



and abc maps to XML element "Abc" and bcd maps to XML element "Bcd", and I want to get the stream for bcd and retrieve bytes (from XML stream for related element "Bcd" directly) to manipulate manually/in a customized way.

I am looking for a sample, but failed, could anyone help to point me to a related sample or wrote some pseudo code?

thanks in advance,
George

Is This A Good Question/Topic? 0
  • +

Page 1 of 1