File: help_bencode.fqtest

package info (click to toggle)
fq 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 106,624 kB
  • sloc: xml: 2,835; makefile: 250; sh: 241; exp: 57; ansic: 21
file content (18 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$ fq -h bencode
bencode: BitTorrent bencoding decoder

Decode examples
===============

  # Decode file as bencode
  $ fq -d bencode . file
  # Decode value as bencode
  ... | bencode

Convert represented value to JSON
=================================
  $ fq -d bencode torepr file.torrent

References
==========
- https://wiki.theory.org/BitTorrentSpecification#Bencoding