[Contents] [Parent chapter] [Previous chapter] [Next chapter]

WriteBinary

Writes binary data to the file.

Class
TTextIniFile

Declaration

procedure WriteBinary(const Section, Ident: string; 
                                  Buffer: Pointer; 
                                  Count: LongInt);

Visibility
public

Description
Writes binary data to the file. The data is taken from the given Buffer, with Count specifying the number of bytes to write. The bytes are written as a hex-coded, comma-separated list of values. If the destination section does not exist, it is created. If a value with the given identifier already exists, it is overwritten.

See
ReadBinary