> As an aside, I've _never_ ever created binary files. So one thing stumps > me > off - how in heavens name will I know at which position does one file > end > and another begin? Is there a commonly used end-of-chunk character? I > need > to be certain that the same character will not be used in any of the > other > files too, else that info will go kaput. Pointers, pointers...anyone?
You could create a simple file spec. For instance, first 4 bytes of the storage file contain the number of files contained. Call it fileCount. Then the next fileCount * 4 bytes stretch contains the length of each file in 4 byte chunks. Then the data starts. There is also some sample code that shows how to store binary files inside a vList container here. It uses BinIO to read the files, but now vList has its own read and writeBinary functions built in. It's here in the vList section. http://www.updatestage.com/xtras/xtradownloads.html "binary file to vlist movie" ------------------- Gretchen Macdowall www.updatestage.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
