/// <summary> /// 解码器 /// </summary> /// <param name="input"></param> /// <returns></returns> public static Guid DecodeToGuid(String input) { input = input.TrimEnd('0'); var bytes = UUIDBase58.Decode(input); return(new Guid(Bytes2Hex(bytes))); }
/// <summary> /// 解码器 /// </summary> /// <param name="input"></param> /// <returns></returns> public static string Decode(String input) { input = input.TrimEnd('0'); var bytes = UUIDBase58.Decode(input); return(Bytes2Hex(bytes)); }