Published Bencoding – an encoder/decoder for the BitTorrent serialization format, written in pure Erlang.
Bencoding is a simple but effective format used by the BitTorrent protocol for torrent files and tracker communication. It defines just four types: integers, byte strings, lists, and dictionaries.
To include it in your project:
{deps, [bencoding]}.
More details on the project page.