System.Classes.TBufferedFileStream.FlushBuffer
Delphi
procedure FlushBuffer; inline;
C++
void __fastcall FlushBuffer();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TBufferedFileStream |
Description
Writes the buffered data that have not yet been written to the file.
When using a buffered file stream, call FlushBuffer to write to the file the data from the buffer that are still not written.
Once you call FlushBuffer, the buffer will remain empty until the next read or write operation.