Binary file

<< Click to Display Table of Contents >>

Navigation:  Export >

Binary file

procedure ToBinaryFile(const AFileName: string);

 

Export data to binary file. All fields are written in a binary format. Integer takes 4 bytes, Date 8 bytes, etc.

Strings are written in 2 bytes unicode format with fixed length (same as field size), tail is filled with zeros.