title: How to convert blob data to string?
body: <p>I am using the following function to convert binary data to text:</p>
  
  <pre><code>public string BinaryToText(byte[] data)
  {
       MemoryStream stream = new MemoryStream(data);
       StreamReader reader = new StreamReader(stream, encoding.UTF8);
       string text = reader.ReadTod();
       return text;
  }
  </code></pre>
  
  <p>But I get an <code>OutOfMemoryException</code> for 30Mb data.</p>
  
  <p>How can I solve this problem and convert data larger than 100Mb, using this or any better method?</p>