Skip to content

TASCII85DecoderStream.Read

Read data from stream.

Declaration

Source position: ascii85.pp line 76

public 
function TASCII85DecoderStream.Read(var aBuffer; aCount: LongInt)
                                    : LongInt;  override;

Description

Read attempts to read aCount bytes from the stream and places them in aBuffer. It reads only as much data as is available. The actual number of read bytes is returned.

The read method reads as much data from the input stream as needed to get to aCount bytes, in general this will be aCount*5/4 bytes.