dcsimg
ByteArrayInputStream or byte array to a String
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Eihab_Bakir
Posted On:   Friday, July 18, 2003 08:55 AM

I have a ByteArrayInputStream and I need to dump the content in to a String object without it being encoded. The content of the ByteArrayInputStream is a pdf file and I need to send it to the browser as is in a String.
The PDF file has an image in it and creating a String from a byte[] results in an encoding which destroys the image and I end up with a blank pdf.

About | Sitemap | Contact