title: Is it possible to save pdf document to byte array (aspose.pdf for java)
body: <p>I need to save a pdf document, generated by <code>aspose.pdf for java</code> library to  memory (without using temporary file)</p>
  
  <p>I was looking at the <a href="http://www.aspose.com/docs/display/pdfjava/Concatenate+PDF+Files" rel="nofollow">documentation</a> and didn't find the <code>save</code> method with the appropriate signature. (I was looking for some kind of outputstream, or at least byte array).</p>
  
  <p>Is it possible? If it is, how can I manage that?</p>
  
  <p>Thanks</p>