public static String decompressStringNonBase64 ( byte [ ] compressed ) throws IOException { ByteArrayInputStream is = new ByteArrayInputStream ( compressed ) ; try ( InputStream gis = new GZIPInputStream ( is ) ) { return new String ( IOUtils . toByteArray ( gis ) , StandardCharsets . UTF_8 ) ; } }
Decompresses the given byte array