Torrent File Structure (Bencode)
约 1 分钟阅读
Torrent File & Bencode
- WebTorrent: parse-torrentGitHubwebtorrent/parse-torrent
- WebTorrent: create-torrentGitHubwebtorrent/create-torrent
- BEP 0003: The BitTorrent Protocol Specification
Bencode
Bencode (pronounced like B encode)WikipediaBencoding is the encoding used by the peer-to-peer sharing system BitTorrent for storing and transmitting loosely structured data.
It supports four different types of values:
- byte strings
- integers
- lists
- dictionaries
Bencoding is most commonly used in torrent files. These metadata files are simply bencoded dictionaries.
关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub2 条
- webtorrent/create-torrentgithub.com/webtorrent/create-torrent
- webtorrent/parse-torrentgithub.com/webtorrent/parse-torrent
Wikipedia1 条
- BencodingWikipedia:Bencoding
其他外链1 条
- www.bittorrent.org/beps/bep_0003.htmlwww.bittorrent.org/beps/bep_0003.html