| 82 | } |
| 83 | |
| 84 | void |
| 85 | append_uint32(string_buffer& buf, uint32_t v) |
| 86 | { |
| 87 | char *const wp = buf.make_space(64); |
| 88 | const int len = snprintf(wp, 64, "%lu", static_cast<unsigned long>(v)); |
| 89 | if (len > 0) { |
| 90 | buf.space_wrote(len); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | std::string |
| 95 | to_stdstring(uint32_t v) |
no test coverage detected