MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / print_hex

Function print_hex

tests/DCPS/KeyTest/md5_test.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <math.h>
10
11void print_hex(void* d)
12{
13 unsigned char* a = (unsigned char*) d;
14 printf("0x");
15 for (int j=0;j<16; j++){
16 printf("%02x",a[j]);
17 }
18 printf("\n");
19}
20
21int
22ACE_TMAIN(int, ACE_TCHAR*[])

Callers 1

ACE_TMAINFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected