[Overview][Classes][Index] |
Read binary data
Source position: inifiles.pp line 162
public function TCustomIniFile.ReadBinaryStream( |
const Section: string; |
const Name: string; |
Value: TStream |
):Integer; virtual; |
Section |
|
Section to read Name from |
Name |
|
Name of key to retrieve value from |
Value |
|
Stream to write data to. |
Number of bytes written to Value
ReadBinaryStream reads the key Name in section Section, and returns the value in the stream Value. If the specified key or section do not exist, then the contents of Value are left untouched. The stream is not cleared prior to adding data to it.
The data is interpreted as a series of 2-byte hexadecimal values, each representing a byte in the data stream, i.e, it should always be an even number of hexadecimal characters.
|
Write binary data |
|
|
Read an integer value from the file |
|
|
||
|
Read a date value |
|
|
Read a Date/Time value |
|
|
Read a time value |
|
|
Read a floating point value |
|
|
Read a string valued key |