----------------------------------------------------------------------------- This version of GetString converts \ to \\ and " to \", etc. It also places " at the beginning and end of the string -----------------------------------------------------------------------------
| 717 | // It also places " at the beginning and end of the string |
| 718 | //----------------------------------------------------------------------------- |
| 719 | char CUtlBuffer::GetDelimitedCharInternal( CUtlCharConversion *pConv ) |
| 720 | { |
| 721 | char c = GetChar(); |
| 722 | if ( c == pConv->GetEscapeChar() ) |
| 723 | { |
| 724 | int nLength = pConv->MaxConversionLength(); |
| 725 | if ( !CheckArbitraryPeekGet( 0, nLength ) ) |
| 726 | return '\0'; |
| 727 | |
| 728 | c = pConv->FindConversion( (const char *)PeekGet(), &nLength ); |
| 729 | SeekGet( SEEK_CURRENT, nLength ); |
| 730 | } |
| 731 | |
| 732 | return c; |
| 733 | } |
| 734 | |
| 735 | char CUtlBuffer::GetDelimitedChar( CUtlCharConversion *pConv ) |
| 736 | { |
nothing calls this directly
no test coverage detected