RtfDomParser.RTFWriter.InnerWriteChar C# (CSharp) Méthode

InnerWriteChar() private méthode

private InnerWriteChar ( char c ) : void
c char
Résultat void
        private void InnerWriteChar(char c)
        {
            if (c == '\t')
            {
                this.WriteKeyword("tab");
                InnerWrite(' ');
            }
            if (c > 32 && c < 127)
            {
                // some specify characters , must be convert
                if (c == '\\' || c == '{' || c == '}')
                {
                    InnerWrite('\\');
                }
                InnerWrite(c);
            }
            else
            {
                byte[] bs = myEncoding.GetBytes(c.ToString());
                for (int iCount2 = 0; iCount2 < bs.Length; iCount2++)
                {
                    InnerWrite("\\\'");
                    WriteByte(bs[iCount2]);
                }
            }
        }