Home > Net >  Questions about the Flush
Questions about the Flush

Time:12-01


Flush the description: clean up the current writers all buffer, make all the buffer data to infrastructure,

In file stream to finish the last Flush, but while I was in the computer file size did not increase, or 0 bytes why,
Not to say that all the buffer data to infrastructure, it writes where the

Until after I perform the Close file size displayed, if like this, if I write directly Close ok?

Execute Close directly tested did not perform Flush, also can be to the data written to a file;


That under what circumstances will use Flush, where is it wrote about infrastructure, it is written!
  •  Tags:  
  • C#
  • Related