QtXBee::ByteUtils Class Reference

The ByteUtils class is A tooling class to manipulates bytes or QByteArray. More...

#include <byteutils.h>

Static Public Member Functions

static QByteArray uintToByteArray (quint8 number)
 Returns the given quint8 converted into QByteArray. More...
 
static QByteArray uintToByteArray (quint16 i)
 Returns the given quint16 converted into QByteArray. More...
 
static QByteArray uintToByteArray (quint32 i)
 Returns the given quint32 converted into QByteArray. More...
 
static QByteArray uintToByteArray (quint64 i)
 Returns the given quint64 converted into QByteArray. More...
 

Detailed Description

The ByteUtils class is A tooling class to manipulates bytes or QByteArray.

Member Function Documentation

QByteArray QtXBee::ByteUtils::uintToByteArray ( quint8  number)
static

Returns the given quint8 converted into QByteArray.

Parameters
number
Returns
the given quint8 converted into QByteArray
QByteArray QtXBee::ByteUtils::uintToByteArray ( quint16  number)
static

Returns the given quint16 converted into QByteArray.

Parameters
number
Returns
the given quint16 converted into QByteArray
QByteArray QtXBee::ByteUtils::uintToByteArray ( quint32  number)
static

Returns the given quint32 converted into QByteArray.

Parameters
number
Returns
the given quint32 converted into QByteArray
QByteArray QtXBee::ByteUtils::uintToByteArray ( quint64  number)
static

Returns the given quint64 converted into QByteArray.

Parameters
number
Returns
the given quint64 converted into QByteArray

The documentation for this class was generated from the following files:
  • /home/thomas/Projects/QtXBee/src/qtxb/byteutils.h
  • /home/thomas/Projects/QtXBee/src/qtxb/byteutils.cpp