procedure WriteBinaryStream(const Section, Name: string; Value: TStream); virtual;
virtual void __fastcall WriteBinaryStream(const System::UnicodeString Section, const System::UnicodeString Name, System::Classes::TStream* Value);
Writes a binary value to the ini file.
Call WriteBinaryStream to write a binary value from a specified stream to a specified section and key in the ini file. WriteBinaryStream writes from the current position in the stream to the end, converting the value into its hexadecimal representation.
Section is the section that contains the target key.
Name is the key under which the binary data is to be written.
Value is a stream to from which the binary value can be read.
Note: Attempting to write a value to a nonexistent section or attempting to write data to a nonexistent key are not errors. In these cases, WriteBinaryStream creates the section and key and sets its initial value to the hexadecimal representation of the stream's data.