*rework hashing/piece layers data organization
*verify correctness of file_hash w/ bep0052.py script
*rework tree
+*refactor torrent
+-convert file sizes to uint64_t - HERE
-torrent_file()
*torrent_file_info
*rework torrent_file
*rework tree
*tree_bencode
- -rework bencode
- -snprintf return # of bytes needed to fill completely
- -move to memcpy instead of snprintf (necessary because of binary data)
- -rethink strategy for when out of available buffer space
-torrent_bencode_piece_layers
-need to sort (hash as key, file->piece_layers as value)
-consider adding piece layer hashmap to torrent struct
-reference to position of piece in file
-void* for data
-filled jit, cached
--convert file sizes to uint64_t
--refactor torrent
- -split into multiple files
- -add, init, free, etc.
- -gonna need remove eventually
-torrent_magnet()
+-rework bencode
+ -rethink strategy for when out of available buffer space
-test
-bencode
-check that snprintf doesn't have weird behavior w/ \n and \0