mio
mio copied to clipboard
char* type
How can i cast this to char* type when reading file like in unix mmap since i can't use strchr() function with given type.
hello, you may use basic_mmap::begin() for this purpose
Hello, thanks for your reply! At the moment I use:
mio::mmap_source mmap; mmap.map(datPath, offset, length, error); char *data = (char *)mmap.data();
Is there any difference between these and basic_mmap::begin()?