1 write to _rtfBytes
PresentationFramework (1)
System\Windows\Documents\RtfToXamlLexer.cs (1)
35_rtfBytes = rtfBytes;
33 references to _rtfBytes
PresentationFramework (33)
System\Windows\Documents\RtfToXamlLexer.cs (33)
65if (_rtfIndex >= _rtfBytes.Length) 72byte tokenChar = _rtfBytes[_rtfIndex++]; 98if (_rtfIndex >= _rtfBytes.Length) 113token.Text = CurrentEncoding.GetString(_rtfBytes, controlStartIndex - 1, _rtfIndex - rtfStartIndex); 131token.Text = CurrentEncoding.GetString(_rtfBytes, _rtfIndex, 1); 225if (_rtfIndex + skip < _rtfBytes.Length) 231_rtfIndex = _rtfBytes.Length - 1; 238byte tokenChar = _rtfBytes[_rtfIndex]; 243tokenChar = _rtfBytes[_rtfIndex++]; 254byte tokenChar = _rtfBytes[_rtfIndex]; 267tokenNextChar = _rtfBytes[_rtfIndex + 1]; 282tokenChar = _rtfBytes[_rtfIndex]; 320return _rtfBytes[_rtfIndex]; 352while (e < _rtfBytes.Length) 354if (IsControl(_rtfBytes[e])) 356if (_rtfBytes[e] == (byte)'\\' 357&& e + 3 < _rtfBytes.Length 358&& _rtfBytes[e + 1] == '\'' 359&& IsHex(_rtfBytes[e + 2]) 360&& IsHex(_rtfBytes[e + 3])) 370else if (_rtfBytes[e] == '\r' || _rtfBytes[e] == '\n' || _rtfBytes[e] == 0) 395if (_rtfBytes[s] == '\\') 397bytes[i++] = (byte)((byte)(HexToByte(_rtfBytes[s + 2]) << 4) + HexToByte(_rtfBytes[s + 3])); 402bytes[i++] = _rtfBytes[s++]; 410token.Text = CurrentEncoding.GetString(_rtfBytes, s, e - s); 434while (_rtfIndex < _rtfBytes.Length && IsControlCharValid(CurByte)) 440string controlName = CurrentEncoding.GetString(_rtfBytes, controlStartIndex, controlLength); 452if (_rtfIndex < _rtfBytes.Length) 472while (_rtfIndex < _rtfBytes.Length && IsParameterFollow(CurByte)) 481if (_rtfIndex < _rtfBytes.Length && CurByte == ' ')