| 1238 | } |
| 1239 | |
| 1240 | int pn_data_print(pn_data_t *data) |
| 1241 | { |
| 1242 | char buf[1024]; |
| 1243 | pn_fixed_string_t str = pn_fixed_string(buf, sizeof(buf)); |
| 1244 | pn_data_inspect(data, &str); |
| 1245 | pn_fixed_string_terminate(&str); |
| 1246 | printf("%s", buf); |
| 1247 | return 0; |
| 1248 | } |
| 1249 | |
| 1250 | int pn_data_format(pn_data_t *data, char *bytes, size_t *size) |
| 1251 | { |
nothing calls this directly
no test coverage detected