----------------------------------------------------------------------------- This version of PutString converts \ to \\ and " to \", etc. It also places " at the beginning and end of the string -----------------------------------------------------------------------------
| 1316 | // It also places " at the beginning and end of the string |
| 1317 | //----------------------------------------------------------------------------- |
| 1318 | inline void CUtlBuffer::PutDelimitedCharInternal( CUtlCharConversion *pConv, char c ) |
| 1319 | { |
| 1320 | int l = pConv->GetConversionLength( c ); |
| 1321 | if ( l == 0 ) |
| 1322 | { |
| 1323 | PutChar( c ); |
| 1324 | } |
| 1325 | else |
| 1326 | { |
| 1327 | PutChar( pConv->GetEscapeChar() ); |
| 1328 | Put( pConv->GetConversionString( c ), l ); |
| 1329 | } |
| 1330 | } |
| 1331 | |
| 1332 | void CUtlBuffer::PutDelimitedChar( CUtlCharConversion *pConv, char c ) |
| 1333 | { |
nothing calls this directly
no test coverage detected