title: xml issue incorporating byte array
body: <p>hello i use a form of message parsing in which i write fields into a buffered stream, and then extract a byte array repesantaition of that stream </p>
  
  <pre><code>MyMessage _message = new MyMessage("me","you",MessageType.peer_message,4252422) ;
  // in the constructor String sender,String receiver,MessageType(enumaraition) m_type,Int32 id 
  
  byte [] buffer = myEncoder.encode(message) ;
  </code></pre>
  
  <p>now when i pass this to myDecoder it decodes it in the same metter and it works great !
  how i do that is not the issue</p>
  
  <p>my issue is that in some cases of misscommunicaition i need to store the byte[] array (buffer) for farther use , and i'm trying to do that in an xmlDocumant under a tag
   HERE IN THE INNER TEXT IS WHERE I WOULD LIKE TO SAVE THAT ARRAY OF BYTES  </p>
  
  <p>ive tryed --> 
  <code>utf8Encoding.Ascii.getString(buffer)</code> which save some kind of repsantaition
  but it changes values of field wich are not strings... when i take it out by using </p>
  
  <pre><code>utf8Encoding.Ascii.getBytes(packet_node.innerText) ; 
  </code></pre>
  
  <p>1)THE QUESTION IS HOW WOULD U GO ABOUT SAVING THAT BYTE ARRAY TO A XMLNODE
  2)i've also tried just writing the fields one by one in each tag  </p>
  
  <pre><code> &lt;Packet&gt;
        &lt;sender&gt;me&lt;/sender&gt;
        &lt;receiver&gt;him&lt;/receiver&gt;
        &lt;MessageType&gt; ..?? how would  i represent a byte as a string ? &lt;/MessageType&gt; 
        &lt;Id&gt; 4252353523 &lt;/Id&gt; here i have no problem but i still would have to always prase the value back and forth in other uses from int to string ..
  
  &lt;/Packet&gt; 
  </code></pre>
  
  <p>3) so my conclusion is to serialize the byte array to an xmldocument .. just that i don't want it to be a document but just one node in an existing document </p>