public static bool TryParse(string rlp, out Tx tx) { try { tx = Parse(rlp); return(true); } catch { tx = null; return(false); } }
public static bool TryParse(byte[] rlp, out Tx tx) { try { tx = Parse(rlp); return(!ReferenceEquals(tx, null)); } catch { tx = null; return(false); } }