| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected