PDA

View Full Version : QFileDevice::map()



codeman
27th October 2013, 21:38
Hello friends,
as far as I read the docu correct, it is not possible to map an utf8 coded file?!
The map function returns a char*.

Is my assumption correct..?

ChrisW67
27th October 2013, 23:51
A file is just a collection of bytes. This function returns a pointer to the location in memory of specified bytes of your file. How you choose to interpret those bytes is entirely up to you.

codeman
28th October 2013, 10:13
Ok, thanks.