This module provides two functions, bencode and bdecode, which encode and decode bencoded strings respectivly.