| 364 | return ss.str(); |
| 365 | } |
| 366 | std::string OHDUtil::bytes_as_string(const uint8_t* data, int data_len) { |
| 367 | std::stringstream ss; |
| 368 | ss << "["; |
| 369 | for (int i = 0; i < data_len; i++) { |
| 370 | int tmp = data[i]; |
| 371 | ss << tmp; |
| 372 | // ss<<v[i]; |
| 373 | if (i != data_len - 1) { |
| 374 | ss << ","; |
| 375 | } |
| 376 | } |
| 377 | ss << "]"; |
| 378 | return ss.str(); |
| 379 | } |
nothing calls this directly
no outgoing calls
no test coverage detected