MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / toHex16Bit

Function toHex16Bit

json/jsoncpp.cpp:4438–4447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4436 "f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff";
4437
4438static JSONCPP_STRING toHex16Bit(unsigned int x) {
4439 const unsigned int hi = (x >> 8) & 0xff;
4440 const unsigned int lo = x & 0xff;
4441 JSONCPP_STRING result(4, ' ');
4442 result[0] = hex2[2 * hi];
4443 result[1] = hex2[2 * hi + 1];
4444 result[2] = hex2[2 * lo];
4445 result[3] = hex2[2 * lo + 1];
4446 return result;
4447}
4448
4449static JSONCPP_STRING valueToQuotedStringN(const char* value, unsigned length) {
4450 if (value == NULL)

Callers 1

valueToQuotedStringNFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected