| 522 | } |
| 523 | |
| 524 | static void tp_ahx(tp_buf_t *b, const char *s) { |
| 525 | static const char hex[] = "0123456789abcdef"; |
| 526 | for (; *s; s++) { |
| 527 | char h[3] = {hex[(unsigned char)*s >> 4], hex[(unsigned char)*s & 15], ' '}; |
| 528 | tp_put(b, h, 3); |
| 529 | } |
| 530 | tp_puts(b, ">"); |
| 531 | } |
| 532 | |
| 533 | static void tp_a85(tp_buf_t *b, const unsigned char *s, size_t n) { |
| 534 | tp_puts(b, "<~"); |
no test coverage detected