title: Uncompress a GZIP string in Java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/270268/how-to-decompress-a-gzipped-data-in-a-byte-array">How to decompress a gzipped data in a byte array?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Gzip'd byte array and I simply want to uncompress it and print the output. It's something like this:</p>
  
  <pre><code>byte[] gzip = getGZIPByteArray();
  
  /* Code do uncompress the GZIP */
  
  System.out.print(uncompressedGZIP);
  </code></pre>
  
  <p>Can anybody help me with the code in the middle?</p>