public static byte[] gzipUncompress(byte[] bytes) {
		if (bytes == null || bytes.length == 0) {
			return null;
		}
		ByteArrayOutputStream out = new ByteArrayOutputStream();
		ByteArrayInputStream in = new ByteArrayInputStream(bytes);
		try {
			GZIPInputStream ungzip = new GZIPInputStream(in);
			byte[] buffer = new byte[256];
			int n;
			while ((n = ungzip.read(buffer)) >= 0) {
				out.write(buffer, 0, n);
			}
		} catch (IOException e) {
		}

		return out.toByteArray();
	}
public static byte [ ] gzipUncompress ( byte [ ] bytes ) { if ( bytes == null || bytes . length == 0 ) { return null ; } ByteArrayOutputStream out = new ByteArrayOutputStream ( ) ; ByteArrayInputStream in = new ByteArrayInputStream ( bytes ) ; try { GZIPInputStream ungzip = new GZIPInputStream ( in ) ; byte [ ] buffer = new byte [ 256 ] ; int n ; while ( ( n = ungzip . read ( buffer ) ) >= 0 ) { out . write ( buffer , 0 , n ) ; } } catch ( IOException e ) { } return out . toByteArray ( ) ; }
GZIP解压缩

@param bytes
@return