Class Protocols.Bittorrent.Torrent()->Target

Description

Each bittorrent has one or more target files. This represents one of those.


Variable base
Variable length
Variable offset
Variable path

string Protocols.Bittorrent.Torrent.Target.base
int Protocols.Bittorrent.Torrent.Target.length
int Protocols.Bittorrent.Torrent.Target.offset
void|array Protocols.Bittorrent.Torrent.Target.path


Method create

Protocols.Bittorrent.Torrent.Target Protocols.Bittorrent.Torrent.Target(string base, int length, int offset, void|array path)