| 260 | } |
| 261 | |
| 262 | void InternetDownload::writeToFile(BYTE* buffer, DWORD bufferLength, void *context) { |
| 263 | fwrite(buffer, bufferLength, 1, reinterpret_cast<FILE*>(context)); |
| 264 | } |
| 265 | |
| 266 | void InternetDownload::writeToString(BYTE* buffer, DWORD bufferLength, void* context) { |
| 267 | reinterpret_cast<std::string*>(context)->append(reinterpret_cast<char*>(buffer), static_cast<size_t>(bufferLength)); |
nothing calls this directly
no outgoing calls
no test coverage detected