Byte array Pdf in browser
I have a PDF as byte array from a webservice and I can fetch it with a jsonP request.
Is it possible to show it in the browser?
I would suggest saving the stream to a file and then just direct the file to the browser to display. I am not aware of any viewer that will view from stream data.
Would you be able to share any of your code from the webservice. I'm trying to do the exact same thing, but don't know where to begin. I have a webservice, but don't know how to set up the byte array pdf. Thanks!!
Scott, do you have an example of how to save the stream to a file? Thanks!! Gregg
Originally Posted by scottmartin
Sencha Premium Member
While not finding a working solution to show a PDF converted from a byte array, I would also be very interested in an example of how to save the stream into a file.
Originally Posted by pulliags
thank you in advance for your reply