MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / OnPreBytesSend

Method OnPreBytesSend

deps/FtpClient/FTPClient.cpp:280–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 void COutputStream::OnPreBytesSend(char* pszBuffer, size_t bufferSize, size_t& bytesToSend)
281 {
282 for( bytesToSend=0; m_spPimpl->m_itCurrentPos!=m_spPimpl->m_vBuffer.end() && bytesToSend < bufferSize; ++m_spPimpl->m_itCurrentPos, ++bytesToSend )
283 pszBuffer[bytesToSend] = *m_spPimpl->m_itCurrentPos;
284 }
285}
286
287using namespace nsFTP;

Callers 1

SendDataMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected