IBDAC

TBlob.Read Method

Acquires a raw sequence of bytes from the data stored in TBlob.

Class

TBlob

Syntax

function Read(Position: Cardinal; Count: Cardinal; Dest: IntPtr): Cardinal; virtual;

Parameters
Position
Holds the starting point of the byte sequence.
Count
Holds the size of the sequence in bytes.
Dest
Holds a pointer to the memory area where to store the sequence.
Return Value
Actually read byte count if the sequence crosses object size limit.

Remarks

Call the Read method to acquire a raw sequence of bytes from the data stored in TBlob.

The Position parameter is the starting point of byte sequence which lasts Count number of bytes. The Dest parameter is a pointer to the memory area where to store the sequence.

If the sequence crosses object size limit, function will return actually read byte count.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback