Method Protocols.Bittorrent.Bencoding.decode()
- Method decode
string
|int
|array
|mapping
decode(Stdio.Buffer
buf
)- Description
Decodes a Bittorrent bencoded data chunk and ignores the remaining string. Returns
UNDEFINED
if the data is incomplete.