pub fn parse_bencode_dict(
input: &[u8],
) -> IResult<&[u8], BTreeMap<&[u8], BencodeItemView<'_>>>
Expand description
Main entry for the parser (for all practical purposes, a blob of bencode is consist of key value pairs). It parses out a bencode dictionary, bencode places no restriction on the homogeneity of dictionary pairs.