Reko.Arch.X86.ProcessorMode.TryParseSegmentedAddress C# (CSharp) Метод

TryParseSegmentedAddress() публичный Метод

public TryParseSegmentedAddress ( string txtAddress, Address &addr ) : bool
txtAddress string
addr Address
Результат bool
        public bool TryParseSegmentedAddress(string txtAddress, out Address addr)
        {
            if (txtAddress != null)
            {
                int c = txtAddress.IndexOf(':');
                if (c > 0)
                {
                    try
                    {
                        addr = CreateSegmentedAddress(
                            Convert.ToUInt16(txtAddress.Substring(0, c), 16),
                            Convert.ToUInt32(txtAddress.Substring(c + 1), 16));
                        return true;
                    }
                    catch { }
                }
            }
            addr = null;
            return false;
        }
    }