Questions tagged [gzipinputstream]

GzipInputStream is a Java class for reading data that are compressed in gzip format. It is also available on Android.

GzipInputStream is a Java class for reading data that are compressed in gzip format. It is also available on Android.

On .NET, there is a similar class called GZipStream: use

125 questions
0
votes
1 answer

DataInputStream , GZIPInputStream and InputStream differences

I know that, GZIPInputStream extends InflaterInputStream extends FilterInputStream extends InputStream and DataInputStream extends FilterInputStream extends InputStream I want to know the difference between following.. InputStream mIstr1 = new…
ironwood
  • 8,936
  • 15
  • 65
  • 114
0
votes
1 answer

java.io.IOException: Not in GZIP format when passing in ByteArrayInputStream

final ByteArrayOutputStream stream = new ByteArrayOutputStream(); try { jaxbContext.createMarshaller().marshal(proposal, stream); try { stream.close(); } catch (IOException e)…
daydreamer
  • 87,243
  • 191
  • 450
  • 722
-1
votes
1 answer

Sending A compressed image file via sms on android

I want to know if it's possible to convert an image to a base64 string and then compress it using GZIP and send it to another android phone via SMS where it is decompressed, decoded and then the image is shown to the user? If yes, then what could be…
-2
votes
2 answers

GZIPInputStream memory leakage

I am getting a java.lang.OutOfMemoryError: Java heap space when using GZIPInputStream. The Java process runs good for some time but after a while full ups the memory. I guess there is some references that are not taken care by the GC but can really…
user1881185
  • 137
  • 1
  • 7
-2
votes
1 answer

Exception occurred in target VM: Not in GZIP format

I have a map in java (Version 1.7) public void doTest() { try { Map data = new HashMap(); data.put("Product", "someProduct"); data.put("CreatedOn", "Fri May 08 02:25:03 IST 2015"); …
sangita
  • 191
  • 5
  • 14
1 2 3
8
9