What is Bencode?

Bencode is a compact serialization format comparable to JSON. It is used heavily in the Bittorrent ecosystem. For most use cases, it will result in a smaller encoding than JSON.

Data types

Bencode supports a few common data types; integer, byte array / string, list and dictionary.

Useful links