]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/util.c
4 void print_hex(const uint8_t * data
, const size_t len
)
8 for (i
=0; i
< len
; i
++)
9 printf("%02x ", data
[i
]);
14 char * sprint_hex(const uint8_t * data
, const size_t len
) {
15 static char buf
[1024];
19 for (i
=0; i
< len
&& i
< 1024/3; i
++, tmp
+= 3)
20 sprintf(tmp
, "%02x ", data
[i
]);