QT uchar 转 QByteArray
uchar 转 QByteArray
uchar checkSum = 0x01; QByteArray r_checkSum; r_checkSum.resize(1); r_checkSum[0] = checkSum;
uchar 转 QByteArray
uchar checkSum = 0x01; QByteArray r_checkSum; r_checkSum.resize(1); r_checkSum[0] = checkSum;