Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.WriteBinaryStream procedure

Member of TCustomIniFilepublicIn unit IniFiles

Write binary data.

Declaration

pascal
procedure WriteBinaryStream(const Section: string; const Name: string; 
 Value: TStream); virtual

Arguments

Section

Section to write key value to.

Name

Key name with which to write value.

Value

Binary data to write.

Description

WriteBinaryStream writes the binary data in Value with the name Ident to the section Section, overwriting any previous value that may exist there. The section will be created if it does not exist.

The binary data is encoded using a 2-byte hexadecimal value per byte in the data stream. The data stream must be seekable, so it's size can be determined. The data stream is not repositioned, it must be at the correct position.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.