Reads a chunk of bytes from the BLOB into a user-provided location.
buffer to read the data into.
maximum number of bytes to read.
on return it will point to the number of bytes actually read.
0 if everything's ok. In case of error, -1 is returned and the provider should have added an error to the connection.
See Implementation
Reads a chunk of bytes from the BLOB into a user-provided location.