I'm new to PDF Clown and, taking a look at the samples included in its distribution, I noticed they use file = new org.pdfclown.files.File(path)
to create new PDF files, then file.Save(anotherPath)
to save them to the file system, but I couldn't find any example that would allow me to generate PDF documents and save them into byte array to be stored in RAM memory.
Basically what we're doing is to pass our customer's input data to the PDF document, generate it in memory, then attach it to emails or save it to database, without needing intermediate disk storage.