MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / String_Hex64

Function String_Hex64

src/String.c:248–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248CC_NOINLINE static void String_Hex64(cc_string* str, cc_uint64 value) {
249 int shift;
250
251 for (shift = 56; shift >= 0; shift -= 8) {
252 cc_uint8 part = (cc_uint8)(value >> shift);
253 String_AppendHex(str, part);
254 }
255}
256
257void String_AppendConst(cc_string* str, const char* src) {
258 for (; *src; src++) {

Callers 1

String_Format4Function · 0.85

Calls 1

String_AppendHexFunction · 0.85

Tested by

no test coverage detected