Icon Read Method

function Read(var Buffer; Count: Integer): Integer

Usage

Read transfers up to Count bytes from the BLOB field into Buffer, starting in the current position, and then advances the current position by the number of bytes actually transferred. Read returns the number of bytes actually transferred (which may be less than the number requested in Count.) Buffer must have at least Count bytes allocated to hold the data that was read from the field.

Read ignores the Transliterate property of the field since DBISAM always reads data using the ANSI character set.

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

Information Do not call Read when the TDBISAMBlobStream object was created in bmWrite mode.
Image