Skip to main content

check_bencode_structure_with_limit

Function check_bencode_structure_with_limit 

Source
pub fn check_bencode_structure_with_limit(
    data: &[u8],
    max_depth: usize,
) -> Result<(), BencodeStructureError>
Expand description

check_bencode_structure with an explicit limit, for tests.