[Overview][Types][Classes][Index] |
Write binary data
Source position: inifiles.pp line 181
public procedure TCustomIniFile.WriteBinaryStream( |
const Section: string; |
const Name: string; |
Value: TStream |
); virtual; |
Section |
|
Section to write key value to |
Name |
|
Key name with which to write value |
Value |
|
Binary data to write |
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.
|
Read binary data |
|
|
Write an integer value |
|
|
Write boolean value |
|
|
Write date value |
|
|
Write date/time value |
|
|
Write time value |
|
|
Write a floating-point value |
|
|
Write a string value |