for( ; ( WHITE_SPACE != *stringBuffer ) && ( stringBuffer < stringEndBuffer ); ++stringBuffer );
}
+unsigned int StringToUint( const char* const uintStr )
+{
+ return static_cast<unsigned int>( strtoul( uintStr, NULL, 10 ) );
+}
+
unsigned int StringToHex( const char* const uintStr )
{
return static_cast<unsigned int>( strtoul( uintStr, NULL, 16 ) );
floatStr = ss.str();
}
+void UintToString( unsigned int value, std::string& uIntStr )
+{
+ std::stringstream ss;
+ ss << value;
+ uIntStr = ss.str();
+}
+
void UintColorToVector4( unsigned int color, Vector4& retColor )
{
retColor.a = static_cast<float>( ( color & 0xFF000000 ) >> 24u ) / 255.f;