TROBlockFileStream is designed for reading a file on disk or writing a file to disk by large chunks. This gives better performance for disk operations.
Usage: the same as TFileStream.
TROBlockFileStream is used in TDADataTable|SaveToFile methods.
- Unit: uROBlockFileStream.pas
- Ancestry: TFileStream | TROBlockFileStream
Specified size that will be use for caching.
property BlockSize: cardinal read write
Creates a new instance.
constructor Create(const FileName: string; Mode: Word)
- FileName: name of file.
- Mode: see description of TFileStream for details.
Writes the buffer to the file.