|
libktorrent
2.1.1
|
Represents a value (string,bytearray or int) in bencoded data. More...
#include <bnode.h>

Public Member Functions | |
| BValueNode (const Value &v, Uint32 off) | |
| const Value & | data () const |
| void | printDebugInfo () override |
| Print some debugging info. | |
Public Member Functions inherited from bt::BNode | |
| BNode (Type type, Uint32 off) | |
| Uint32 | getLength () const |
| Get the length this node takes up in the bytearray. | |
| Uint32 | getOffset () const |
| Get the offset in the bytearray where this node starts. | |
| Type | getType () const |
| Get the type of node. | |
| void | setLength (Uint32 l) |
| Set the length. | |
Additional Inherited Members | |
Public Types inherited from bt::BNode | |
| enum | Type { VALUE, DICT, LIST } |
1.8.18