Sign in Join
FPDoc Onlineexperiment

TASCII85EncoderStream.Write function

Member of TASCII85EncoderStreampublicIn unit Ascii85

Write data encoded to the destination stream.

Declaration

pascal
function Write(const aBuffer; aCount: LongInt): LongInt; override

Arguments

aBuffer

Untyped buffer with the data encoded in the method.

aCount

Number of bytes from the buffer encoded in the method.

Function result

Returns the number of bytes from the buffer encoded in the method.

Description

Write encodes the aCount bytes of data in aBuffer and writes the encoded data to the destination stream.

Not all data is written immediately to the destination stream. Only after the encoding stream is destroyed will the destination stream contain the full data.

See also

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