*rework tree
*tree_bencode
*rework torrent_add_file
- -torrent_bencode_piece_layers
- -need to sort (hash as key, file->piece_layers as value)
- -consider adding piece layer hashmap to torrent struct
- -add pieces field to session struct
- -create piece struct
- -pointer to file
- -reference to position of piece in file
- -void* for data
- -filled jit, cached
+ -torrent_bencode_piece_layers - HERE
+ -finish src/torrent/piece.c
+ -buffer creation
+ -size of each layer?
+ *need to sort (hash as key, file->piece_layers as value)
-rework bencode
-rethink strategy for when out of available buffer space
+ -not handled right now
-test
-torrent
*expand add tests