Function parse_bencode_list

Source
pub fn parse_bencode_list(
    input: &[u8],
) -> IResult<&[u8], Vec<BencodeItemView<'_>>>
Expand description

Parse out bencode list, technically, bencode places not restriction on if the list items are homogeneous, meaning a list could contain both integers and strings.

§Note

Although the functions are exposed directly, it’s unsuitable to be used directly in most cases, it’s provided for quick and dirty convenience only.