[Top]
Protocols
Protocols.Bittorrent
Protocols.Bittorrent.Generator
|
Method Protocols.Bittorrent.Generator()->create()
- Method
create
-
void Protocols.Bittorrent.Generator(void|string base, void|int piece_size)
- Description
-
Create a generator.
- Parameter base
-
The base filename/path in the torrent.
- Parameter piece_size
-
The size of the pieces that the SHA hashes are calculated on.
Default 262144 and this value should probably be 2^n.
|