public static byte[] tryDecompress(InputStream raw) throws IOException {
        try (GZIPInputStream gis = new GZIPInputStream(raw);
                ByteArrayOutputStream out = new ByteArrayOutputStream()) {
            copy(gis, out);
            return out.toByteArray();
        }
    }
@Test
    void testTryDecompressForNotGzip() throws Exception {
        byte[] testCase = "123".getBytes(Charsets.toCharset("UTF-8"));
        assertEquals(testCase, IoUtils.tryDecompress(testCase));
    }