Sign in Join
FPDoc Onlineexperiment

TASCII85EncoderStream.Create constructor

Member of TASCII85EncoderStreampublicIn unit Ascii85

Create a new instance of TASCII85EncoderStream.

Declaration

pascal
constructor Create(ADest: TStream; AWidth: Integer=72; 
 ABoundary: Boolean=False)

Arguments

ADest

Stream where the encoded data is stored.

AWidth

Width of the lines written by the encoder.

ABoundary

True to write a delineator before and after the encoded data.

Description

Create creates a new instance of TASCII85EncoderStream. It stores ADest as the destination stream for the encoded data. The Width parameter indicates the width of the lines that are written by the encoder: after this amount of characters, a linefeed is put in the data stream. If ABoundary is True then a boundary delineator is written to the stream before and after the data.

See also

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