effusion v0.2.0 Effusion.BTP.Block View Source
A chunk of data for a download.
A block of data is distinct from a piece.
A piece is a chunk of data that is piece_length
long,
and has a 20-byte SHA-1 hash in the torrent's pieces
array.
Blocks can be accumulated into pieces, and both have a piece index and data.
Blocks will also have an :offset
value,
indicating the data's offset from the start of the piece with index :index
.
Link to this section Summary
Functions
Split a piece into many blocks of a certain size.
Link to this section Functions
Split a piece into many blocks of a certain size.