QuickFix.ByteSizeString.IndexOf C# (CSharp) Метод

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

public IndexOf ( byte nextchar, int pos ) : int
nextchar byte
pos int
Результат int
        public int IndexOf( byte nextchar, int pos )
        {
            if (pos > _str.Length)
                throw new OverflowException("pos is greater than string length!");

            int retpos;
            for (retpos = pos; retpos < _str.Length; ++retpos)
            {
                if (_str[retpos] == nextchar )
                    return retpos;
            }
            throw new OverflowException("= not found!");
        }