Bencode parser for scala