Add a function to convert integers to hexadecimals in QByteArray.
This commit is contained in:
parent
019fa723c1
commit
c4d9ddb602
29
socket.cpp
29
socket.cpp
File diff suppressed because one or more lines are too long
2
socket.h
2
socket.h
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue