A simplex bencode encoder and decoder.