public static bool TryParse(string hex, out H256 hash) { try { hash = Parse(hex); return(true); } catch { hash = null; return(false); } }
public static bool TryParse(byte[] bytes, out H256 hash) { try { hash = Parse(bytes); return(true); } catch { hash = null; return(false); } }