Пример #1
0
        internal Line DecodeLineWithFormat(string str)
        {
            Line l = null;
            var  a = str.ToCharArray();

            if (a.Length != 0)
            {
                switch (a[0])
                {
                case ':':
                    l = _ihex.DecodeLine(a);
                    break;

                case 'S':
                    l = _srec.DecodeLine(a);
                    break;
                }
            }
            return(l);
        }