MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / hexdump

Function hexdump

tools/cdb2_sqlreplay/cdb2_sqlreplay.cpp:348–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346};
347
348static void hexdump(FILE *f, void *datap, int len)
349{
350 u_char *data = (u_char *)datap;
351 int i;
352 for (i = 0; i < len; i++)
353 fprintf(f, "%02x", (unsigned int)data[i]);
354}
355
356void dumpstring(FILE *f, char *s, int quotes, int quote_quotes)
357{

Callers 1

printColFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected