indiantarget / quimeraengine

0 stars 0 forks source link

SQInteger::ToStringHexadecimal #601

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It will be useful to add another method to SQInteger to generate a string from 
an integer value, using an hexadecimal format.
The static method would be called "ToStringHexadecimal" and should return a 
string_q, with one template parameter (an unsigned integer type expected) and 
one function parameter.

Example of the output:

unsigned int(0)        --> "00000000"
unsigned char(1)       --> "01"
unsigned short(526)    --> "020E"
unsigned int(324565)   --> "0004F3D5"
unsigned int(123324565)--> "0759C895"

Original issue reported on code.google.com by Lince3D@gmail.com on 9 May 2014 at 7:06

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 21 Aug 2014 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 24 Aug 2014 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago
Results of the review: Correct.

Original comment by Lince3D@gmail.com on 28 Aug 2014 at 11:30