#include <bencode_parser.hpp>
◆ BencodeParser()
fur::bencode::BencodeParser::BencodeParser |
( |
| ) |
|
|
default |
◆ ~BencodeParser()
fur::bencode::BencodeParser::~BencodeParser |
( |
| ) |
|
|
default |
◆ decode()
BencodeResult fur::bencode::BencodeParser::decode |
( |
std::string const & |
decoded | ) |
|
Parses a bencode string and returns a BencodeValue object, this is public and it is not called recursively, in fact it initialize the attributes _tokens and _index and then calls the private method decode()
◆ encode()
std::string fur::bencode::BencodeParser::encode |
( |
BencodeValue const & |
value | ) |
|
|
static |
The documentation for this class was generated from the following files: