----------------------------------------------------------------------------- Does the next bytes of the buffer match a pattern? -----------------------------------------------------------------------------
| 509 | // Does the next bytes of the buffer match a pattern? |
| 510 | //----------------------------------------------------------------------------- |
| 511 | bool CUtlBuffer::PeekStringMatch( int nOffset, const char *pString, int nLen ) |
| 512 | { |
| 513 | if ( !CheckPeekGet( nOffset, nLen ) ) |
| 514 | return false; |
| 515 | return !V_strncmp( (const char*)PeekGet(nOffset), pString, nLen ); |
| 516 | } |
| 517 | |
| 518 | |
| 519 | //----------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected