MCPcopy Create free account
hub / github.com/dannagle/PacketSender / debugQByteArray

Method debugQByteArray

src/packetnetwork.cpp:850–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848
849
850QString PacketNetwork::debugQByteArray(QByteArray debugArray)
851{
852 QString outString = "";
853 for (int i = 0; i < debugArray.size(); i++) {
854 if (debugArray.at(i) != 0) {
855 outString = outString + "\n" + QString::number(i) + ", 0x" + QString::number((unsigned char)debugArray.at(i), 16);
856 }
857 }
858 return outString;
859}
860
861
862void PacketNetwork::disconnected()

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected