TStreamWriter = class(TTextWriter)
class PASCALIMPLEMENTATION TStreamWriter : public TTextWriter
Writer for characters to stream.
This class is functionally similar to the Microsoft .NET class StreamWriter. However, when you pass an instance of TStream instead of a filename to its creator, TStreamWriter does not take ownership of this instance of TStream by default (you must manually call TStreamWriter.OwnStream instead).