No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9b0833f Jun 4, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib second Jun 4, 2016
.travis.yml initial Jun 4, 2016
META6.json initial Jun 4, 2016 modified Jun 4, 2016


To encode and decode bencoding strings used in bittorrent applications

Usage Example

use Bencode;
my $b =;
say $b.bencode({"announce" => "","created by" => "Transmission/2.82 (14160)","creation date" => "1449261537","encoding"=> "UTF-8","info" => {"length" => "1581383680","name" => "linuxmint-17.3-cinnamon-64bit.iso"}});

say $b.bdecode('d8:announce42: by25:Transmission/2.82 (14160)13:creation datei1449261537e8:encoding5:UTF-84:infod6:lengthi1581383680e4:name33:linuxmint-17.3-cinnamon-64bit.isoee');