title: generate pdf from byte[] using iTextSharp
body: <p>I am trying to create a new pdf file file and save it to disk using iTextSharp.</p>
  
  <p>I have bytes[] for pdf content but unable to understand how to use this with iTextSharp.</p>
  
  <pre><code>public bool CreatePdf(string filepath, byte[] content)
  {
  
  }
  </code></pre>
  
  <p>Can anyone help me with some sample code to generate pdf using byte[] in iTextSharp and save it to disk.</p>
  
  <p>I found lots of tutorial on google with adding new paragraph or chunk.. but I want to use byte[].</p>