- Home /
Loading parts of file (Multiplatform)
Hi,
I am struggling with something here, maybe you guys can shed some light. I am trying to read a few bytes from a VERY huge file (around 1400MB in size), and I just need a block of around 2k from this file. This file is a binary file of my own format.
I want to read this in a way it would work with iOS, Android and standalone builds. I know System.IO.File can do the trick, but I'm not sure, and couldn't figure out from the docs, if I'm allowed to read directly from the physical media in all those devices, and I want to know if this is possible.
The other way was to use WWW, but I'm afraid that it might try to load the entire 1400MB into memory, which I cannot do, would render what I'm doing useless.
Can I use the System.IO without fear? If so, how can I address the multiplatform part? If not, WWW will load everything into memory?
Thanks!
Your answer
Follow this Question
Related Questions
Climb ladder 2 Answers
How to make enemy AI with NavMesh 2 Answers
How to save a Scene during a game? 1 Answer
Intantiate problems 1 Answer
Any one knows how this is done? 1 Answer