Converting a Byte array into a .PDF

Hello folks,

I’m developing an application that receives lots of values from a rest web service.

I need to convert array of bytes  of a pdf file into a pdf file and show it on the screen.

i have searched in the web and didn`t find nothing , could any one help me ? 

Thanks for help 

did you try:http://www.lua.org/pil/21.2.2.html

and then just system.openURL the pdf?

did you try:http://www.lua.org/pil/21.2.2.html

and then just system.openURL the pdf?