code: public static byte[] compress(byte[] data) throws Exception {
  		ByteArrayInputStream bais = new ByteArrayInputStream(data);
  		ByteArrayOutputStream baos = new ByteArrayOutputStream();
  		compress(bais, baos);
  		byte[] output = baos.toByteArray();
  		baos.flush();
  		baos.close();
  		bais.close();
  		return output;
  	}
docs: 数据压缩
  @param data
  @throws Exception