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

Function print_hex

tests/DCPS/KeyTest/KeyMarshalling.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22const Encoding encoding(Encoding::KIND_UNALIGNED_CDR);
23
24void print_hex(void* d)
25{
26 unsigned char* a = (unsigned char*) d;
27 printf("0x");
28 for (int j = 0; j < 16; j++){
29 printf("%02x", a[j]);
30 }
31 printf("\n");
32}
33
34template<typename Type>
35void key_hash_test(const Type& value, SerializedSizeBound expected_bound = SerializedSizeBound())

Callers 1

key_hash_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected