示例#1
0
 public static string CompressMemory2Hex(object obj, AcedCompressionLevel level)
 {
     if (null == obj)
     {
         return(string.Empty);
     }
     return(ConverService.Bytes2Hex(MemoryCompress(obj, level)));
 }
示例#2
0
 /// <summary>
 /// 将对象压缩成16进制字符串
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public static string CompressObject2Hex(object obj)
 {
     return(ConverService.Bytes2Hex(CompressObjectToBytes(obj)));
 }