摘要: BT种子文件 bencoding编码详细解析 BT种子文件使用了一种叫bencoding的编码方法来保存数据。 bencoding现有四种类型的数据:srings(字符串),integers(整数),lists(列表),dictionaries(字典) 编码规则如下: strings(字符串)编码为:<字符串长度>:<字符串> 例如: 4:test 表示为字符串"test"... 阅读全文
posted @ 2010-07-24 08:47 jiangzhuo 阅读(932) 评论(0) 推荐(0) 编辑