RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteSignature Method

Writes a filer signature to the writer object's associated stream.

Pascal
procedure WriteSignature;
C++
__fastcall WriteSignature();

WriteSignature is used internally by several methods that write the filer signature before processing some action. For example, the WriteRootComponent method calls WriteSignature before writing its component to the stream. By checking for the signature before loading objects, reader objects can guard against inadvertently reading invalid or corrupted data. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!