System.Classes.TBufferedFileStream

From RAD Studio API Documentation
Jump to: navigation, search


System.Classes.TFileStreamSystem.Classes.THandleStreamSystem.Classes.TStreamSystem.TObjectTBufferedFileStream

Delphi

TBufferedFileStream = class(TFileStream)

C++

class PASCALIMPLEMENTATION TBufferedFileStream : public TFileStream

Properties

Type Visibility Source Unit Parent
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TBufferedFileStream adds buffering support to TFileStream.

TBufferedFileStream optimizes multiple consecutive small reads or writes. However, TBufferedFileStream can be used as a drop-in replacement for TFileStream, enabling applications to read from and write to a file on a disk.

Note: TBufferedFileStream will not give performance gain for random position reads or writes, or large reads or writes.

See Also