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


qint64 is used instead of the standard int data type because of possible addressing problems on 32b platforms.
Definition at line 38 of file BInt.h.
Public Member Functions | |
| BInt (qint64 value=0) | |
| Constructs a BInt object with the value value. | |
| ~BInt () | |
| BInt destructor. | |
| qint64 | value () const |
| Returns the int value of the BInt object. | |
Protected Member Functions | |
| bool | read (BinaryReader &) |
| Reads and loads a bencoded int value from the reader. | |
Protected Attributes | |
| qint64 | value_ |
|
|
Constructs a BInt object with the value value.
|
|
|
BInt destructor.
|
|
|
Reads and loads a bencoded int value from the reader. Returns true if the loaded value is correct, false otherwise. Implements Protocols::BitTorrent::Bencoding::BItem. |
|
|
Returns the int value of the BInt object.
|
|
|
|