Sign in Join
FPDoc Onlineexperiment

TStreamWriter.Create constructor

Member of TStreamWriterpublicIn unit StreamEx

Declaration

pascal
constructor Create(aStream: TStream); overload
constructor Create(aStream: TStream; aEncoding: TEncoding; 
 aBufferSize: Integer=4096); overload
constructor Create(const aFilename: string; aAppend: Boolean=False)
 ; overload
constructor Create(const aFilename: string; aAppend: Boolean; 
 aEncoding: TEncoding; aBufferSize: Integer=4096)
 ; overload

Description

Not described here; this is what TTextWriter.Create says of it:

Creates a new text writer instance

Creates a new TTextWriter instance that writes to the specified stream.

The constructor initializes MaxLineLength to 72 characters (standard email width) and sets up internal buffers for line wrapping and table formatting.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.