/// <summary> /// 解压缩16进制字符串的结果到原字符串 /// </summary> /// <param name="source">Base64编码的结果</param> /// <returns>原字符串</returns> public static string DeCompressStringFromHex(string source) { byte[] byteSource = source.HexStringToByteArray(); return(ZipCompress.DeCompressStringFromArray(byteSource)); }
/// <summary> /// 解压缩Base64编码的结果到原字符串 /// </summary> /// <param name="source">Base64编码的结果</param> /// <returns>原字符串</returns> public static string DeCompressStringFromBase64(string source) { byte[] byteSource = Convert.FromBase64String(source); return(ZipCompress.DeCompressStringFromArray(byteSource)); }