BlobOp.read

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

class BlobOp
glong
read

Parameters

blob gda.blob.Blob

a #GdaBlob to read data to

offset glong

offset to read from the start of the blob (starts at 0)

size glong

maximum number of bytes to read.

Return Value

Type: glong

the number of bytes actually read. In case of error, -1 is returned and the provider should have added an error to the connection.