13 lines
146 B
C
13 lines
146 B
C
#include <stdio.h>
|
|
|
|
void dump_hex(uint8_t * buf, int size)
|
|
{
|
|
while(size--)
|
|
{
|
|
printf("%02x ", *buf++);
|
|
}
|
|
printf("\n");
|
|
}
|
|
|
|
|