New topic: 

BinaryStream and large files

<http://forums.realsoftware.com/viewtopic.php?t=46892>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        atarikid          Post subject: BinaryStream and large 
filesPosted: Sun Feb 10, 2013 9:28 am                         
Joined: Wed Feb 04, 2009 1:43 pm
Posts: 390                I have an issue with BinaryStream and writing big 
files.

In this code it writes the textdata memoryblock to the outputfile:

  dim b as BinaryStream = BinaryStream.Create(outputfile, true)
  b.Write textdata
  b.close

The textdata memoryblock can be large (up to +100MB).
When it writes to the binarystream it locks-up the whole app. Even when you put 
this in a thread with low priority.

Is there a way to write the memoryblock and does not lock the app? Writing in 
smaller parts within a loop?
If so, how?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to