MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / StringToUint64

Function StringToUint64

samples/shared/strtools.cpp:214–217  ·  view source on GitHub ↗

returns a uint64_t from a string */

Source from the content-addressed store, hash-verified

212
213/** returns a uint64_t from a string */
214uint64_t StringToUint64( const std::string & sValue )
215{
216 return strtoull( sValue.c_str(), NULL, 0 );
217}
218
219//-----------------------------------------------------------------------------
220// Purpose: Helper for converting a numeric value to a hex digit, value should be 0-15.

Callers

nothing calls this directly

Calls 1

strtoullFunction · 0.70

Tested by

no test coverage detected