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