Bencoding

Overview

Bencode is an encoding scheme used by Bittorent that is similar to JSON. It supports the encoding of integers, strings, lists, and dictionaries as follows:

JavaScript JSON and Bencode converter

Source code here: bencode.js
JSON Bencode
	

Limitations of Bencoding

Resources


Written by Adrian Stoll on 25 April 2016