System.Classes.TStreamWriter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStreamWriter = class(TTextWriter)

C++

class PASCALIMPLEMENTATION TStreamWriter : public TTextWriter

Properties

Type Visibility Source Unit Parent
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

Writer for characters to stream.

TStreamWriter is an implementation of a TTextWriter for writing characters to a stream in a designated encoding.

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).

See Also

Code Examples

Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.Classes.TStreamWriter&oldid=624373"