TECLStream.SaveToStream
TECLStream
Writes the entire contents of the stream to the stream object specified by Stream.
procedure SaveToStream(Stream: TStream);
Description
Use SaveToStream to copy decompressed data that is stored in data stream into another storage medium. SaveToStream writes the entire contents of data stream into the indicated stream object, starting at the current position in the stream that was passed as a parameter.
When the Stream parameter is a TFileStream object, SaveToStream does much the same thing as the SaveToFile method.
If the entire contents of the data stream cannot be written to the target stream, SaveToStream raises an exception.
|