Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amule-project/amule
/ GetUnreadDataLength
Method
GetUnreadDataLength
src/libs/ec/cpp/ECSocket.cpp:255–261 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
253
254
255
size_t CQueuedData::GetUnreadDataLength() const
256
{
257
wxCHECK_MSG(m_wr_ptr >= m_rd_ptr, 0,
258
"Read position past write position."
);
259
260
return m_wr_ptr - m_rd_ptr;
261
}
262
263
264
Callers
2
OnOutput
Method · 0.80
ReadBufferFromSocket
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected