Write a variant to the stream.
Source position: classesh.inc line 2076
| public procedure TBinaryObjectWriter.WriteVariant( | 
| const VarValue: Variant | 
| ); override; | 
WriteVariant is overridden by TBinaryObjectWriter to write a simple variant type to the stream. WriteVariant does not write arrays types or complex types. Only null, integer (ordinal) float and string types are written.
If a non-supported type is written, then an EWriteError exception is.