Commit Graph

4 Commits (2a4eecb83081154e4a0341633ab05f65a7aa7575)

Author SHA1 Message Date
7sDream 177d1c7de9 hash_fields(finish #4) and hash raw:
- hash fields method and parameter allow user customize hash field list
- hash raw parameter allow the output of hash field to be raw bytes
- BEncoder now support encode raw bytes
2018-06-23 12:57:04 +08:00
7sDream ee3128b32b Many changes, see bellow:
- Added
  - BEncoder
  - BDecoder
  - encode
  - decode
  - errors argument for TorrentFileParser and parse_torrent_file (#4)
- Changed
  - TorrentFileCreator rename to BEncoder
  - TorrentFileParser, BEncoder don't need outmost level is dict
- Updated
  - README
  - CHANGELOG
  - LICENSE

and tests for above changes.
2018-06-23 01:44:10 +08:00
7sDream cae5919459
Added: TorrentFileCreator and create_torrent_file 2018-04-29 00:08:48 +08:00
7sDream c2ce49250b
Finish enhancement by issue #3
- Fixed: Support negative int
- Fixed: seek_back not move pos
- Added: Auto encoding
2018-04-06 13:41:51 +08:00