Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need the help on the below two things

1) I need to convert the PDF file data to bytes arrray in JavaScript .

2) Using the above bytes array, I need to render it in the UI as PDF file.

Questions may look like, why I want to convert the PDF file to bytes Stream and again why I want to show it as PDF in UI. But I need to figure out a way for the above two which helps me to solve many issues in my project.

Any suggestions for reading or solutions to above problems will be much appreciable.

Thanks for your time!

share|improve this question

1 Answer

please check pdf.js. it may be helpful http://mozilla.github.io/pdf.js

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.