System.JSON.Writers.TASCIIStreamWriter
Delphi
TASCIIStreamWriter = class(TStreamWriter)
C++
class PASCALIMPLEMENTATION TASCIIStreamWriter : public System::Classes::TStreamWriter
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | System.JSON.Writers |
Description
Writer for characters to stream.
System.JSON.Writers.TASCIIStreamWriter inherits from System.Classes.TStreamWriter. All content below this line refers to System.Classes.TStreamWriter.
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).