Protocols::Kad::Utils::UInt128 Class Reference

#include <UInt128.h> [code]

List of all members.


Detailed Description

Definition at line 32 of file UInt128.h.

Public Member Functions

void readFromBinaryReader (BinaryReader &reader)
 Reads a 128 bits number from a Binary Reader.
void writeToBinaryWriter (BinaryWriter &writer) const
 Writes a 128 bits number to a Binary Writer.

Private Member Functions

 UInt128 ()

Private Attributes

quint32 data [4]
 A 128 bits unsigned integer. Being data[0] the most significant word.


Constructor & Destructor Documentation

Protocols::Kad::Utils::UInt128::UInt128  )  [inline, private]
 

Definition at line 34 of file UInt128.h.


Member Function Documentation

void Protocols::Kad::Utils::UInt128::readFromBinaryReader BinaryReader &  reader  ) 
 

Reads a 128 bits number from a Binary Reader.

Note:
Is this the ideal solution?

Definition at line 33 of file UInt128.cpp.

void Protocols::Kad::Utils::UInt128::writeToBinaryWriter BinaryWriter &  writer  )  const
 

Writes a 128 bits number to a Binary Writer.

Definition at line 42 of file UInt128.cpp.


Member Data Documentation

quint32 Protocols::Kad::Utils::UInt128::data[4] [private]
 

A 128 bits unsigned integer. Being data[0] the most significant word.

Definition at line 42 of file UInt128.h.


The documentation for this class was generated from the following files: