title: Enocde/Decode string
body: <p>(using vb.net)</p>
  
  <p>Hi,</p>
  
  <p>I have an ini file where I need to post an RTF file as a single line in the ini file - like...</p>
  
  <pre><code>[my section]
  rtf_file_1=bla bla bla (the content of the rtf file)
  </code></pre>
  
  <p>To avoid linebreaks, special codes etc. in the RTF file from wrapping in the ini file, how can I encode (and decode) it as a single string?</p>
  
  <p>I was thing if there was a function to convert a string (in my case the content of the RTF file) into a line of numbers and then decode it back?</p>
  
  <p>What would you do?</p>
  
  <p>Thanks!</p>