Blob.read

Reads a chunk of bytes from the BLOB into a user-provided location.

class Blob
int
read
(
void* buf
,
int size
,
out int bytesRead
)

Parameters

buf void*

buffer to read the data into.

size int

maximum number of bytes to read.

bytesRead int

on return it will point to the number of bytes actually read.

Return Value

Type: int

0 if everything's ok. In case of error, -1 is returned and the provider should have added an error to the connection.

Meta