Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption
Initiates streaming of components and their properties.
function ReadComponent(Instance: TComponent): TComponent;
ReadComponent is called indirectly by the global routine ReadComponentRes, by the ReadComponentRes method, or it can be called directly to initiate component streaming.
ReadComponent reads data values from the stream and assigns them to Instance's properties. It then constructs a reader object and calls the reader's ReadRootComponent method to read Instance's property values and construct child objects defined in the stream as children of the Instance. ReadComponent returns the component.
If Instance is nil, ReadComponent constructs a component based on the type information in the stream and returns the newly-constructed component.