Icon Read Method

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

Read transfers up to Count bytes from the BLOB or CLOB column 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 column.

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

Information Do not call Read when the TEWBBlobStream object was created in bmWrite mode. Also, please remember that if you are using a stream on a CLOB column, then the number of Unicode characters in the CLOB column will not be equal to the number of bytes in the stream.
Image