Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us



Writes the entire contents of the stream to the stream object specified by Stream.


procedure SaveToStream(Stream: TStream);



Use SaveToStream to copy decompressed data that is stored in the data stream into another storage medium. SaveToStream writes the entire contents of the 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.


Note:      We recommend that you use the SaveToStream instead of the CopyFrom method as it works much faster.

        © 2003 - 2019 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Jun 26, 2019