[fpc-pascal] tstream files cross-platform ?
    Jonas Maebe 
    jonas.maebe at elis.ugent.be
       
    Tue Dec 22 15:05:36 CET 2009
    
    
  
On 22 Dec 2009, at 12:57, Dale Welch wrote:
> how do you make a saved tstream cross-platform?
Use a twriter/treader to save/load data to/from the stream, then all  
endian issues will be taken care of automatically (and even converting  
between the x86' extended type and double on platforms that don't  
support it).
http://www.freepascal.org/docs-html/rtl/classes/twriter.html
http://www.freepascal.org/docs-html/rtl/classes/treader.html
Jonas
    
    
More information about the fpc-pascal
mailing list