Populate QDataStream and only write to QIODevice under a certain condition

Printable View