TFileRec

Top  Previous  Next

What is translated > File Input and Output > TFileRec

TFileRec is the runtime base class for typed and untyped binary files.

 

It stores the FileStream, the current file mode, the assigned file name, and the record size.

 

TypedFile<T> uses the size of T as its record size.

 

UntypedFile uses the record size supplied to Reset or Rewrite.

 

TFileRec provides the common implementation for:

 

Opening binary files

Closing binary files

Checking read and write access

Seeking to a record

Reading the current file position

Reading the file record count

Testing Eof

BlockRead

BlockWrite



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content