Structs§
- Parser
- Constructs a
Parser
for bencoded data from a reader implementingstd::io::read
. The only exposed interface is an iterator, which will emit parsed tokensParseResult
up until (but not including) EOF.
Enums§
Functions§
- decode
- Given a token parser
parser
, will try to decodeParseResult
intoValue
s. This function does obviously not attempt to drain the passed reader instance, but rather expects one top-level value to parse form.