Qt 怎么判断串口读取完
我用串口接收数据,每次缓存58个字节读取一次,
read0: 32 bytes
read0: 32 bytes
read0: 58 bytes
read0: 0 bytes
read0: 32 bytes
read0: 32 bytes
read0: 58 bytes
read0: 0 bytes
read0: 32 bytes
read0: 32 bytes
read0: 58 bytes
read0: 0 bytes
read0: 32 bytes
read0: 32 bytes
read0: 58 bytes
read0: 0 bytes
每次接收完数据后会读取一个0 bytes,数据发送是连续的,我想问这样子怎么判断数据已经读取完毕,