Bencode
Reading time: less than 1 minute 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
Citation
If you find this work useful, please cite it as:
@article{yaltirakliwikibencode,
title = "Bencode",
author = "Gokberk Yaltirakli",
journal = "gkbrk.com",
year = "2021",
url = "https://www.gkbrk.com/wiki/bencode/"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "Bencode", April, 2021. [Online]. Available: https://www.gkbrk.com/wiki/bencode/. [Accessed Apr. 17, 2021].
APA Style Yaltirakli, G. (2021, April 17). Bencode. https://www.gkbrk.com/wiki/bencode/
Bluebook Style Gokberk Yaltirakli, Bencode, GKBRK.COM (Apr. 17, 2021), https://www.gkbrk.com/wiki/bencode/