title: How to read contents from outputStream
body: <p>How to read the contents from an OutputStream to a byte array or to an inputstream.</p>
  
  <p>I have some data written to StreamingOutput and I need to read this data from another process. </p>