Hi! I try to write an app that read files from libraries, not app folder. I need file content presented as bytes.
Now I use method from app examples: get StorageFile^ file, stream = file->openAsync, then read data with DataReader.
This method reads file data with speed same as foobar2000 file read + decoding, so i try find a way make my file reading faster.
1) Is it gives me something, if i create DataReader from IInputStream instead of IrandomAccessStream?
2) This presentation says that better use IBuffer instead of DataReader. Is it? Also, cant find how create IBuffer from StorageFile.
In addition need to say, i dont need whole file loading into memory.
Can anybody consult me how make fastest file reading function?