Attempt at creating a BEncode library in Java.