Previously, I described as Bencoding Library I made, to simplify the Bencoding structure and .Net. I also put this up on Codeplex. However, I discovered a flaw – If a string containing a null-byte, like most .Torrent files unavoidably do, it will fail. So I made a fix, which has been uploaded to Codeplex, as changeset 1102.
I’ve long been wanting to write a Bencoding library. Bencoding is an encoding format used to encode objects, like text, lists, dictionaries and so forth down into a single piece of text. It’s useful for transporting configuration files back and forth.
Bencoding is best known for its use in the Bittorrent protocol, where it serves as the basis for the .Torrent files. Anyhow. What I want to do, is code a bencoding library in C#, supporting all the known objects of bencoding. You can read more about the encoding here.
As another bonus. I’ll be trying out the Team Foundation Server supplied by Codeplex. When I code for the project that I’ve created here.