MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / writeToFile

Method writeToFile

libinstall/src/InternetDownload.cpp:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void InternetDownload::writeToFile(BYTE* buffer, DWORD bufferLength, void *context) {
263 fwrite(buffer, bufferLength, 1, reinterpret_cast<FILE*>(context));
264}
265
266void InternetDownload::writeToString(BYTE* buffer, DWORD bufferLength, void* context) {
267 reinterpret_cast<std::string*>(context)->append(reinterpret_cast<char*>(buffer), static_cast<size_t>(bufferLength));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected