Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Protocols
Protocols.Bittorrent
Protocols.Bittorrent.Bencoding

Method Protocols.Bittorrent.Bencoding.encode()


Method encode

string encode(string|int|array|mapping data)

Description

Encodes a Bittorrent bencoded data chunk.