Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
/img/help/home.gif

TECLStream.Read

TECLStream


Reads up to Count bytes of data from the resource associated with the data stream into the Buffer.

 

function Read(var Buffer; Count: Longint): Longint; override;

 

Description

 

Use Read to read data from the resource associated with the data stream when the number of bytes in the resource is not known. Read transfers up to Count bytes from the resource, starting at the current position, and then advances the current position in the resource by the number of bytes actually transferred. Read returns the number of bytes actually transferred, which may be less than Count if the end of file marker or other end data marker is encountered.

 

All other data-reading methods of a stream (ReadBuffer, ReadComponent) call Read to do the actual reading.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 29, 2024