If the types are not the same you have to convert them.

Best Regards,
Paulo Soares

----- Original Message ----- 
From: "Kalpesh Raval" <[EMAIL PROTECTED]>
To: "Kalpesh Raval" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004 20:25
Subject: RE: [iText-questions] Streaming the PDF to browser


Hello people,

Does anyone have any idea about the following, even a little help in any
direction will be really appreciated.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kalpesh
Raval
Sent: Friday, July 09, 2004 12:19 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Streaming the PDF to browser


Hello,

I got the output in java.io.ByteArrayOutputStream(), I am trying to
stream that to the browser and I am having hard times doing that.

I am using ASP.NET so I am doing Response.OutputStream.Write(byte
array,offset, length)

now java.io.ByteArrayOutputStream.toByteArray returns sbyte array
whereas the documentation says it will return a byte array?
Any inputs???

Kalpesh


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to