MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / append_uint32

Function append_uint32

libhsclient/string_util.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void
85append_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
94std::string
95to_stdstring(uint32_t v)

Callers 2

Calls 2

make_spaceMethod · 0.80
space_wroteMethod · 0.80

Tested by

no test coverage detected