[Overview][Types][Classes][Index] |
Read data from stream
Source position: ascii85.pp line 70
public function TASCII85DecoderStream.Read( |
var aBuffer; |
aCount: LongInt |
):LongInt; override; |
aBuffer |
|
Buffer to transfer data to |
aCount |
|
Number of bytes to transfer to buffer |
Actual number of bytes transferred to buffer.
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.