public static boolean isGzipStream(byte[] bytes) {
        
        int minByteArraySize = 2;
        if (bytes == null || bytes.length < minByteArraySize) {
            return false;
        }
        
        return GZIPInputStream.GZIP_MAGIC == ((bytes[1] << 8 | bytes[0]) & 0xFFFF);
    }
@Test
    void testIsGzipStreamWithNull() {
        assertFalse(IoUtils.isGzipStream(null));
    }