QDataStream

最后更新于:2022-04-02 02:12:42

[TOC] ## QDataStream ## 实例 ``` // 输出流 QByteArray baResult; QDataStream dsOut(&baResult,QIODevice::ReadWrite); int nVersion = 1; double dblValue = 125.78999; QString strName = QObject::tr("This an example."); dsOut<>nVersion1>>dblValue1>> strName1; qDebug()< ';