#include <BString.h> [code]
Inherits Protocols::BitTorrent::Bencoding::BItem.
Inheritance diagram for Protocols::BitTorrent::Bencoding::BString:


A Derived form BItem class representing the bencoding string type.
Definition at line 37 of file BString.h.
Public Member Functions | |
| BString (const QByteArray &string=QByteArray()) | |
| Constructs a BString from QByteArray byteArray. | |
| ~BString () | |
| BString destructor. | |
| QByteArray | value () const |
| Returns the string value. | |
Protected Member Functions | |
| bool | read (BinaryReader &) |
| Reads and loads a bencoded string from the reader. | |
Protected Attributes | |
| QByteArray | value_ |
|
|
Constructs a BString from QByteArray byteArray.
|
|
|
BString destructor.
|
|
|
Reads and loads a bencoded string from the reader. Returns true if the loaded string is correct, false otherwise. Implements Protocols::BitTorrent::Bencoding::BItem. Definition at line 31 of file BString.cpp. |
|
|
Returns the string value.
|
|
|
|