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

Method GetLocalStreamSize

deps/FtpClient/FTPClient.cpp:179–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 virtual UINT GetLocalStreamSize() const override
180 {
181 if( !m_pFile )
182 return 0;
183
184 const long lCurPos = ftell(m_pFile);
185 fseek(m_pFile, 0, SEEK_END);
186 const long lEndPos = ftell(m_pFile);
187 fseek(m_pFile, lCurPos, SEEK_SET);
188
189 return lEndPos;
190 }
191
192 virtual void SetLocalStreamOffset(DWORD dwOffsetFromBeginOfStream) override
193 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected