MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / sprintf

Method sprintf

source/util/bstring.h:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75 template<typename ... Args>
76 void sprintf(const char* format, Args ... args) {
77 int size = std::snprintf(nullptr, 0, format, args ...);
78 makeWritable(size);
79 std::snprintf(str(), size + 1, format, args ...);
80 setLength(size);
81 }
82
83 // modifying function
84 void append(const BString& s);

Callers 1

socketAddressNameFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected