Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PositionReader ¶
type PositionReader struct {
Pos int64
Readahead int64
Offset int64
FileLength int64
PieceLength int64
Pieces int
}
PositionReader ...
func (*PositionReader) PiecesRange ¶
func (p *PositionReader) PiecesRange() (ret PieceRange)
PiecesRange Calculates the pieces this reader wants downloaded, ignoring the cached value at r.pieces.
Click to show internal directories.
Click to hide internal directories.