libktorrent
2.1.1
|
#include <piece.h>
Public Member Functions | |
Piece (Uint32 index, Uint32 off, Uint32 len, PieceDownloader *pd, const Uint8 *data) | |
const Uint8 * | getData () const |
![]() | |
Request () | |
Request (const Request &r) | |
Request (Uint32 index, Uint32 off, Uint32 len, PieceDownloader *pd) | |
Uint32 | getIndex () const |
Get the index of the chunk. | |
Uint32 | getLength () const |
Get the length of a the piece. | |
Uint32 | getOffset () const |
Get the offset into the chunk. | |
PieceDownloader * | getPieceDownloader () const |
Get the sending Peer. | |
Request & | operator= (const Request &r) |