MCPcopy Create free account
hub / github.com/arvidn/libtorrent / pos

Method pos

src/receive_buffer.cpp:252–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252int crypto_receive_buffer::pos() const
253{
254 if (m_recv_pos == INT_MAX)
255 return m_connection_buffer.pos();
256 else
257 return m_recv_pos;
258}
259
260void crypto_receive_buffer::cut(int size, int packet_size, int offset)
261{

Callers 5

TORRENT_TESTFunction · 0.45
crypto_resetMethod · 0.45
getMethod · 0.45
on_pieceMethod · 0.45

Calls

no outgoing calls

Tested by 1

TORRENT_TESTFunction · 0.36