[][src]Crate bencode_decode

Structs

Parser

Constructs a Parser for bencoded data from a reader implementing std::io::read. The only exposed interface is an iterator, which will emit parsed tokens ParseResult up until (but not including) EOF.

Enums

ParseResult
Value

Functions

decode

Given a token parser parser, will try to decode ParseResult into Values. This function does obviously not attempt to drain the passed reader instance, but rather expects one top-level value to parse form.