BlobOp.read

glong read(gda.blob.Blob blob, glong offset, glong size)

Reads a chunk of bytes from the BLOB accessible through op into blob.

Parameters

bloba #GdaBlob to read data to
offsetoffset to read from the start of the blob (starts at 0)
sizemaximum number of bytes to read.

Returns

the number of bytes actually read. In case of error, -1 is returned and the

provider should have added an error to the connection.