Sign in Join
FPDoc Onlineexperiment

TASCII85RingBuffer.Read function

Member of TASCII85RingBufferpublishedIn unit Ascii85

Read data from the internal buffer.

Declaration

pascal
function Read(var aBuffer; aSize: Cardinal): Cardinal

Arguments

aBuffer

Buffer to write data to.

aSize

Number of bytes to transfer.

Function result

Number of actually transferred bytes.

Description

Read will read aSize bytes from the internal buffer and writes them to aBuffer. If not enough bytes are available, only as much bytes as available will be written. The function returns the number of bytes transferred.

See also

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