Using PDFTron.NET.x64 to Convert a File Stream to PDF

I’ve found the answer here Convert a Docx to PDF given by a byte array by using a filter