Results 1 to 2 of 2
- 03-15-2012, 04:23 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
Gzip from c# to java decoding from b64 issue
Hello.
I receiving base64 String contains gzip file, from our team working with C#.
When I trying to decode and open it with GZIP in Java I got this exception
Exception in thread "main" java.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at main.main(main.java:41)
Is there is some difference from base64 in C# and Java?
And how I can solve this problem?
Thanks in advance
- 03-15-2012, 05:31 PM #2
Similar Threads
-
Decoding
By ljd0991 in forum New To JavaReplies: 6Last Post: 10-28-2011, 06:43 PM -
Decompress (un-gzip) a byte[]?
By NeuroFuzzy in forum New To JavaReplies: 2Last Post: 02-10-2011, 02:12 PM -
Help needed for "java.io.IOException: Not in GZIP format"
By goldest in forum New To JavaReplies: 6Last Post: 08-10-2010, 09:22 AM -
Gif decoding/LZW troubles
By hellochar in forum Advanced JavaReplies: 2Last Post: 07-14-2009, 11:26 PM -
gZIp decompression with j2se
By ashakthi84 in forum NetworkingReplies: 1Last Post: 12-25-2007, 04:03 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks