Example #1
0
 public static bool TryParse(string hex, out H160 h160)
 {
     try
     {
         h160 = Parse(hex);
         return(true);
     }
     catch
     {
         h160 = null;
         return(false);
     }
 }
Example #2
0
 public static bool TryParse(byte[] bytes, out H160 h160)
 {
     try
     {
         h160 = Parse(bytes);
         return(true);
     }
     catch
     {
         h160 = null;
         return(false);
     }
 }