MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / StringWriteImpl

Function StringWriteImpl

projects/uManager/source/ul/man/man_Network.cpp:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 namespace {
8
9 std::size_t StringWriteImpl(const char* in, std::size_t size, std::size_t count, std::string *out) {
10 const auto total_size = size * count;
11 out->append(in, total_size);
12 return total_size;
13 }
14
15 std::size_t FileWriteImpl(const char* in, std::size_t size, std::size_t count, FILE *out) {
16 fwrite(in, size, count, out);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected