title: How to convert ByteArrayOutputStream to Reader
body: <p>Having</p>
  
  <pre><code>ByteArrayOutputStream b = ...;
  
  //some code under test writes to b
  
   Reader result = (convert b to reader);
  
   IOUtils.contentEqualsIgnoreEOL(expected, result);
  </code></pre>
  
  <p>How to convert a <code>ByteArrayOutputStream</code> to a <code>Reader</code>?</p>