Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 6 and Version 7 of TutSeparatedBuffers

Show
Ignore:
Author:
h3r3tic (IP: 81.190.20.81)
Timestamp:
10/21/06 20:01:42 (8 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TutSeparatedBuffers

    v6 v7  
    4343   ulong       fPos;   //  The current position of the file 
    4444   uint[]      buff;   //  this is the buffer that will hold the data to be written 
    45    // note that this allocates twice the estimated requirement  (buff is uints rather than bytes) 
     45   // note that this allocates four times the estimated requirement  (buff is uints rather than bytes) 
    4646   buff.length = byteLengthEstimate; 
    4747   fc.seek(pos);       //  attempt to move file to desired position