I want read binary file and load data to unsigned char array. My code is:
Functions from QFile and QByteArray support only signed char not unsigned char. I can not understand reason for using signed char because for me byte=unsigned char.Qt Code:
f.close();To copy to clipboard, switch view to plain text mode
Is there any possibility to read unsigned char from file? Of course I can convert every signed char to unsigned char but mayby exsist easier way for this problem?
Bookmarks