User Tools

Site Tools


proton:filemanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
proton:filemanager [2010/10/29 11:32] sethproton:filemanager [2012/03/09 01:05] (current) seth
Line 49: Line 49:
  
 ====How to stream a file in==== ====How to stream a file in====
-To insure a hassle free Android compile you should use FileManager::GetStreaming.  It returns a **StreamingInstance** that operates sort of like a FileInstance but actually smartly loads the file as you go, which may even be from a .zip file.+To insure a hassle free Android compile you should use FileManager::GetStreaming instead of raw fopen/fread type stuff.  It returns a **StreamingInstance** that operates sort of like a FileInstance but actually smartly loads the file as you go, which may even be from a .zip file.
  
 Why would you want to do this and not just load it all in one chunk? Why would you want to do this and not just load it all in one chunk?
proton/filemanager.1288351970.txt.gz · Last modified: 2010/10/29 11:32 by seth