MCPcopy Create free account
hub / github.com/AlSch092/UltimateAntiCheat / WriteMemoryCallback

Method WriteMemoryCallback

Network/HttpClient.cpp:178–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178size_t HttpClient::WriteMemoryCallback(void* contents, size_t size, size_t nmemb, void* userp)
179{
180 size_t totalSize = size * nmemb;
181 MemoryStruct* mem = (MemoryStruct*)userp;
182 mem->memory.insert(mem->memory.end(), (unsigned char*)contents, (unsigned char*)contents + totalSize);
183 return totalSize;
184}
185
186size_t HttpClient::HeaderCallback(char* buffer, size_t size, size_t nitems, void* userdata)
187{

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected