MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / FindConversion

Method FindConversion

src/tier1/utlbuffer.cpp:98–103  ·  view source on GitHub ↗

Finds a conversion for the passed-in string, returns length

Source from the content-addressed store, hash-verified

96
97// Finds a conversion for the passed-in string, returns length
98char CUtlCStringConversion::FindConversion( const char *pString, int *pLength )
99{
100 char c = m_pConversion[ (unsigned char)pString[0] ];
101 *pLength = (c != '\0') ? 1 : 0;
102 return c;
103}
104
105
106

Callers 2

Calls 1

V_strcmpFunction · 0.85

Tested by

no test coverage detected