Creating PDFDoc with remote file

The following post shows how to get a byte array from a PDF file, then open the PDF from the byte array, using PDFDoc(pdftron::UChar const *,size_t):