哪位前辈熟悉Bit Torrent的Bencoding请进来,晚辈倾囊送分!UP有分!谢谢!
我是一个VC爱好者,最近在研究BitTorrent的相关技术,可是耗费了好大力气也找不到Completedir的VC实现,所以想自己写一个,可是我的英文水平确实有限,实在看不懂Bittorrent.com上的文档,尤其是下面两句:“pieces maps to a string whose length is a multiple of 20. It is to be subdivided into strings of length 20, each of which is the SHA1 hash of the piece at the corresponding index. ”还有“The 20 byte sha1 hash of the bencoded form of the info value from the metainfo file. Note that this is a substring of the metainfo file. This value will almost certainly have to be escaped. ”这两段,请前辈指教!来者有分!