24 #include <util/constants.h>
25 #include <ktorrent_export.h>
55 BDecoder(
const Uint8* ptr, Uint32 size,
bool verbose, Uint32 off = 0);
63 BDecoder(
const QByteArray & data,
bool verbose, Uint32 off = 0);
93 void debugMsg(
const QString & msg);
Base class for a node in a b-encoded piece of data.
BDecoder(const QByteArray &data, bool verbose, Uint32 off=0)
Uint32 position() const
Get the current position in the data.
BDecoder(const Uint8 *ptr, Uint32 size, bool verbose, Uint32 off=0)
Represents a value (string,bytearray or int) in bencoded data.
Represents a list in bencoded data.
Represents a dictionary in bencoded data.