#include "libtorrent/bencode.hpp"#include <boost/lexical_cast.hpp>#include "test.hpp"Go to the source code of this file.
Functions | |
| std::string | encode (entry const &e) |
| entry | decode (std::string const &str) |
| int | test_main () |
| entry decode | ( | std::string const & | str | ) |
Definition at line 19 of file test_bencoding.cpp.
References libtorrent::bdecode().
Referenced by test_main().
| std::string encode | ( | entry const & | e | ) |
Definition at line 12 of file test_bencoding.cpp.
References libtorrent::bencode().
Referenced by test_main().
| int test_main | ( | ) |
Definition at line 24 of file test_bencoding.cpp.
References decode(), simple_client::e, encode(), l, and TEST_CHECK.
1.5.6