|
Furrent
|
#include <bencode_value.hpp>


Public Member Functions | |
| BencodeInt (int64_t data) | |
| std::string | to_string () const override |
| Returns the string representation of the bencode value. More... | |
| BencodeType | get_type () const override |
| Returns the type of the bencode value as a BencodeType enum. More... | |
| int64_t | value () const |
| Returns the integer value of the bencode value. More... | |
Public Member Functions inherited from fur::bencode::BencodeValue | |
| virtual | ~BencodeValue ()=default |
|
explicit |
|
overridevirtual |
Returns the type of the bencode value as a BencodeType enum.
Implements fur::bencode::BencodeValue.
|
overridevirtual |
Returns the string representation of the bencode value.
Implements fur::bencode::BencodeValue.
| int64_t BencodeInt::value | ( | ) | const |
Returns the integer value of the bencode value.
1.8.17