All the read functions from QFile, and the readRawData from QDataStream have their receiving buffers defined as type char*. The binary data byte has type "unsigned char". How can I read binary data from files?

Thanks!