sloved a bug, the pointer returned by QByteArray::constData() will be unavaliable when ByteArray changed, that will cause app crash.