Sign in Join
FPDoc Onlineexperiment

TBinaryObjectWriter.WriteVariant procedure

Member of TBinaryObjectWriterpublicIn unit Classes

Write a variant to the stream.

Declaration

pascal
procedure WriteVariant(const VarValue: Variant); override

Description

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.

Errors

If a non-supported type is written, then an EWriteError exception is.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.