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

TECLFileStream.Read

TECLFileStream


Reads up to Count bytes of data from the file associated with the stream in the Buffer with transparent decompression.

 

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

 

Description

Use Read to read data from the file associated with the stream when the number of bytes in the file 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 the file marker is encountered.

 

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

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 19, 2024