Bencode
Data serialization format
Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data. It supports four different types of values: byte strings, integers, lists (arrays), and dictionaries (associative arrays).
Nº Q871923 ★
Common · Knowledge
Bencode
Data serialization format
Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data. It supports four different types of values: byte strings, integers, lists (arrays), and dictionaries (associative arrays).
From Wikipedia
Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data. It supports four different types of values: byte strings, integers, lists (arrays), and dictionaries (associative arrays). Bencoding is most commonly used in torrent files, and as such is part of the BitTorrent specification. These metadata files are simply bencoded dictionaries. Bencoding is simple and (because numbers are encoded as text in decimal notation) is unaffected by endianness, which is important for a cross-platform application like BitTorrent. It is also fairly flexible, as long as applications ignore unexpected dictionary keys, so that new ones can be added without creating incompatibilities.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
B
Byte-pair encoding
Algorithm for data compression and tokenization that iteratively replaces the most frequent pairs of consecutive bytes or symbols with a new representation
Nº Q860962 ★★
Not listed
-
8
8b/10b encoding
Line code mapping 8-bit words to 10-bit symbols
Nº Q1755441 ★
Not listed
-
A
Ascii85
Form of binary-to-text encoding developed by Paul E. Rutter
Nº Q809819 ★
Not listed
-
E
EDonkey2000
Peer-to-peer file sharing application
Nº Q283780 ★
Not listed
-
B
Bibcode
Code used to identify references in certain astronomical data systems
Nº Q25754 ★★
Not listed
-
B
Binary-to-text encoding
Scheme for encoding arbitrary binary data as plain text
Nº Q3775042 ★
Not listed