Add a function to convert integers to hexadecimals in QByteArray.

This commit is contained in:
Andrius Štikonas 2015-11-01 03:56:05 +00:00
parent 019fa723c1
commit c4d9ddb602
2 changed files with 12 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ private:
}
void run();
void writeSocketData(QByteArray socketName, QByteArray remotePassword, QByteArray timeZone, uint16_t countdown);
QByteArray intToHex(uint16_t value);
QByteArray intToHex(uint16_t value, unsigned int length, bool littleEndian = true);
QByteArray commandID[MaxCommands];
QByteArray datagram[MaxCommands];