23void rs_hexify(
char *to_buf,
void const *from,
int from_len)
25 static const char hex_chars[] =
"0123456789abcdef";
26 unsigned char const *from_buf = (
unsigned char const *)from;
28 while (from_len-- > 0) {
29 *(to_buf++) = hex_chars[((*from_buf) >> 4) & 0xf];
30 *(to_buf++) = hex_chars[(*from_buf) & 0xf];
Public header for librsync.