Commit Graph

6 Commits

Author SHA1 Message Date
Jason Rhinelander
e11f5018c2
Fix negative integer parsing 2023-06-02 00:11:28 -03:00
Jason Rhinelander
a294c81f0d
Python <3.11 compat fix 2023-05-03 21:12:19 -03:00
Jason Rhinelander
e255b87992
Add automatic hex decoding to bencode-dump.py
This allows bencode-dump.py autodetect hex input and decode it on the
fly, which is quite convenient when working with binary-containing
bencoded data strings.
2023-02-28 12:34:17 -04:00
Jason Rhinelander
29418f7a7b bencode-dump.py: support reading from stdin
So that you can pipe bt-encoded output into it, e.g. from the
in-progress oxend bt-rpc interface.
2021-08-06 14:25:32 -03:00
Jason Rhinelander
d2dc3b8c1b Fix program name in bencode-dump.py --help 2021-06-22 12:27:04 -03:00
Jason Rhinelander
4b0a10328a Add bencoded file dumper 2021-06-22 12:18:55 -03:00