&s是地址,*是指针,*&s是指指向&s地址的指针;
j = *&s 就是 j = s的意思。
例如:readRawData( (char *)& rowCount, sizeof(qint16));
//读取文本流中的行数到rowCount、列数到colCount
qint16 rowCount, colCount;
//从流中读取最多sizeof(qint16) 个字节到缓冲区 rowCount 中
aStream.readRawData((char *)&rowCount, sizeof(qint16));
aStream.readRawData((char *)&colCount, sizeof(qint16));







![[晓理紫]AI专属会议截稿时间订阅](https://img-blog.csdnimg.cn/direct/0bae701d1cae47cc8ad3065a38e51e61.jpeg#pic_center)











