pub fn bencode(i: &[u8]) -> Result<&[u8], (Bencode,), Error>
parse a buffer containing bencode
if the bencode tree contains too much nested elements, a stackoverflow may occur on debug and deallocation