MCPcopy Create free account
hub / github.com/comaps/comaps / OnChunkDownloaded

Method OnChunkDownloaded

libs/platform/http_thread_qt.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void HttpThread::OnChunkDownloaded()
121{
122 QByteArray const data = m_reply->readAll();
123 int const chunkSize = data.size();
124 m_downloadedBytes += chunkSize;
125 m_callback.OnWrite(m_begRange + m_downloadedBytes - chunkSize, data.constData(), chunkSize);
126}
127
128void HttpThread::OnDownloadFinished()
129{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
OnWriteMethod · 0.45

Tested by

no test coverage detected