Read a variant from the stream.
Source position: classesh.inc line 1951
public function TReader.ReadVariant: Variant; |
ReadVariant reads the next value from the stream and returns it as a variant. No variant array can be read from the stream, only single values.
If no variant manager is installed, the function will raise an EReadError exception. If the next value is not a simple value, again an EReadError exception is raised. exception is
|
Write a variant to the stream. |