aardio 文档

bencoding.decoder 库模块帮助文档

bencoding 成员列表 #

bencoding.decoder() #

创建bencoding解码器

返回对象:bencodingdecoderObject

bencoding.decoder 成员列表 #

bencoding解码器

bencoding.decoder.load("文件路径") #

自文本文件中加载并解码返回数据

bencodingdecoderObject 成员列表 #

bencodingdecoderObject.getRange(对象) #

参数传入解码后返回的字典或列表对象,
返回该对象在解码前原始数据中的起始位置,结束位置

bencodingdecoderObject.getString(对象) #

参数传入解码后返回的字典或列表对象,
返回该对象在解码前的原始数据

bencodingdecoderObject.parse() #

解码并返回数据

Markdown 格式