title: How to preview an array of bytes which represents a file content in client browser?
body: <p>We are in a need to interact with a Document Management Systems which saves file (mostly PDF &amp; DOC &amp; DOCX) as an array of bytes and saves also its file extension.<br>
  So, we need to build a file viewer which display files in client's browser.<br>
  We think of converting DOC files into PDF and preview converted file in browser, others think of converting array of bytes to HTML (this solution is a big question for us as we don't know how to do this and if this is available or not) and transfer rendered html.<br>
  But we don't think that these solutions are the best and cross browser solutions.</p>
  
  <p>So, is there any way to do such functionality? which must be a cross browser solution?</p>