Did you know ... Search Documentation:
Pack bencode -- prolog/bencode.pl
PublicShow source
 bencode(?Term, ?Codes) is semidet
True if Codes is the bencoding of Term. In Term, atoms represent byte strings. Lists of Key-Value pairs, sorted by Key represent dictionaries. Integers and lists represent themselves.