title: How can I produce a Base64 encoded PDF that is read by iText's PdfReader
body: <p>I am reading an existing PDF (<code>INPUT</code>) using iText:</p>
  
  <pre><code>PdfReader reader = new PdfReader(INPUT);
  </code></pre>
  
  <p>I am using this <code>reader</code> instance to manipulate the PDF, but the end result needs to be Base64 encoded (I need to insert it into a db2 database as a text BLOB). How can I make sure that iText's output is Base64 encoded?</p>