on Stack Overflow, kris54321 writes:
> I need to open a pdf generated by my java webapp in PDF.JS viewer. PDF.JS api accepts typed array (Uint8Array), so I am assuming I need to send the file somehow as a bytestream over http get/post, but I have been unsuccessful so far.
>
> Any suggestions how to do that?