Skip to content

TASCII85RingBuffer.Read

Read data from the internal buffer.

Declaration

Source position: ascii85.pp line 48

published 
function TASCII85RingBuffer.Read(var aBuffer; aSize: Cardinal)
                                 : Cardinal;

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

Name Description
TASCII85RingBuffer.FillCount Number of bytes in buffer.
TASCII85RingBuffer.Write Write data to the internal buffer.
TASCII85RingBuffer.Size Size of buffer.