public static byte[] zlib(String content, String charset, int level) {
		return zlib(StrUtil.bytes(content, charset), level);
	}
@Test
	public void zlibTest() {
		final String data = "我是一个需要压缩的很长很长的字符串";
		final byte[] bytes = StrUtil.utf8Bytes(data);
		byte[] gzip = ZipUtil.zlib(bytes, 0);

		//保证zlib长度正常
		assertEquals(62, gzip.length);
		final byte[] unGzip = ZipUtil.unZlib(gzip);
		//保证正常还原
		assertEquals(data, StrUtil.utf8Str(unGzip));

		gzip = ZipUtil.zlib(bytes, 9);
		//保证zlib长度正常
		assertEquals(56, gzip.length);
		final byte[] unGzip2 = ZipUtil.unZlib(gzip);
		//保证正常还原
		assertEquals(data, StrUtil.utf8Str(unGzip2));
	}